File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,15 +102,15 @@ resource "aws_security_group" "sg_on_rds_instance" {
102102}
103103
104104resource "aws_iam_role" "rds_enhanced_monitoring" {
105- assume_role_policy = " ${ data . aws_iam_policy_document . rds_enhanced_monitoring [0 ]. json } "
105+ assume_role_policy = data. aws_iam_policy_document . rds_enhanced_monitoring [0 ]. json
106106 count = var. monitoring_interval == 0 ? 0 : 1
107107 name_prefix = " rds-enhanced-monitoring"
108108}
109109
110110resource "aws_iam_role_policy_attachment" "rds_enhanced_monitoring" {
111111 count = var. monitoring_interval == 0 ? 0 : 1
112112 policy_arn = " arn:aws:iam::aws:policy/service-role/AmazonRDSEnhancedMonitoringRole"
113- role = " ${ aws_iam_role . rds_enhanced_monitoring [0 ]. name } "
113+ role = aws_iam_role. rds_enhanced_monitoring [0 ]. name
114114}
115115
116116data "aws_iam_policy_document" "rds_enhanced_monitoring" {
You can’t perform that action at this time.
0 commit comments