-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the DEPRECATED warnings #35
Conversation
removing current will fix the messages. Warning: module.platform.module.ecs.data.aws_region.current: "current": [DEPRECATED] Defaults to current provider region if no other filtering is enabled You can find more info at hashicorp/terraform-provider-aws#3157
data "aws_region" "current" { | ||
current = true | ||
} | ||
data "aws_region" "current" {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does one even need the curly braces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am pretty sure the answer is yes
|
do you have a region on your provider? |
The other thing is that I did see that error when Jenkins was on 0.10.8 when I was doing the terraform-aws-network module. What version of terraform are you using? |
EDIT : scratch that, I have updated all my providers and it's now working as expected. Sorry for the noise. |
We went a different route and removed that datasource. #36 |
removing current will fix the messages.
Warning: module.platform.module.ecs.data.aws_region.current: "current": [DEPRECATED] Defaults to current provider region if no other filtering is enabled
You can find more info at hashicorp/terraform-provider-aws#3157