-
Notifications
You must be signed in to change notification settings - Fork 62
fix: aws_region.current.name is deprecated #355
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
Conversation
| options = { | ||
| "awslogs-group" = local.awslogs_group | ||
| "awslogs-region" = data.aws_region.current.name | ||
| "awslogs-region" = data.aws_region.current.region |
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.
| aws = { | ||
| source = "hashicorp/aws" | ||
| version = ">= 4.6.0" | ||
| version = "~> 6.0" |
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.
Given the deprecation, I'm setting 6.0+ here.
melissathai
left a comment
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.
Changes LGTM, but let's see what @clint-truss thinks since OHS relies on this module.
clint-truss
left a comment
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.
Had one question. I haven't finished the review - had to step into a meeting. Did any other variables change their defaults? It's hard to tell with the re-order.
| description = "Application Load Balancer (ALB) security group ID to allow traffic from." | ||
| default = "" | ||
| type = string | ||
| default = "DISABLED" |
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'm curious as to the rationale for this change. The default setting for this attribute is "DISABLED" per the TF docs. Why set it to ""?
Docs: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_service#availability_zone_rebalancing-1
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.
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.
Not sure if this view helps support this.
I changed no values. I simply did a |
Oh ok, then it just looked that way in the diff. Thanks for the update! |
When using this module with AWS Provider
6.3.0, I encounter an errorThis was deprecated with
6.0.0.I will cut a new major version
v8.0.0.