Created
May 17, 2020 02:37
-
-
Save oke-py/7342ceba7e642a7b430cd89bca876062 to your computer and use it in GitHub Desktop.
Terraform Resource: aws_config_config_rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform validate | |
Warning: Quoted references are deprecated | |
on config_config_rule.tf line 9, in resource "aws_config_config_rule" "r": | |
9: depends_on = ["aws_config_configuration_recorder.foo"] | |
In this context, references are expected literally rather than in quotes. | |
Terraform 0.11 and earlier required quotes, but quoted references are now | |
deprecated and will be removed in a future version of Terraform. Remove the | |
quotes surrounding this reference to silence this warning. | |
Warning: Interpolation-only expressions are deprecated | |
on config_config_rule.tf line 14, in resource "aws_config_configuration_recorder" "foo": | |
14: role_arn = "${aws_iam_role.r.arn}" | |
Terraform 0.11 and earlier required all non-constant expressions to be | |
provided via interpolation syntax, but this pattern is now deprecated. To | |
silence this warning, remove the "${ sequence from the start and the }" | |
sequence from the end of this expression, leaving just the inner expression. | |
Template interpolation syntax is still used to construct strings from | |
expressions when the template includes multiple interpolation sequences or a | |
mixture of literal strings and interpolations. This deprecation applies only | |
to templates that consist entirely of a single interpolation sequence. | |
(and one more similar warning elsewhere) | |
Success! The configuration is valid, but there were some validation warnings as shown above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment