-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
provider/aws: Support ip_address_type for aws_alb #13227
Conversation
cd64e81
to
503f103
Compare
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.
Other than the two mentioned things this looks 👌 but I'd like to see all ALB acceptance tests passing prior to merging this.
} | ||
|
||
stateConf := &resource.StateChangeConf{ | ||
Pending: []string{"active", "provisioning", "failed"}, |
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 think this is a typo - active
shouldn't be treated as Pending?
@@ -71,6 +71,7 @@ func TestAccAWSALB_basic(t *testing.T) { | |||
resource.TestCheckResourceAttrSet("aws_alb.alb_test", "zone_id"), | |||
resource.TestCheckResourceAttrSet("aws_alb.alb_test", "dns_name"), | |||
resource.TestCheckResourceAttrSet("aws_alb.alb_test", "arn"), | |||
resource.TestCheckResourceAttrSet("aws_alb.alb_test", "ip_address_type"), |
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.
Any specific reason we can't check the value here and verify that it defaults to ipv4
?
503f103
to
a5d6d96
Compare
Fixes: #11429 ``` % make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSALB_updatedIpAddressType' ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2017/03/31 20:12:20 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSALB_updatedIpAddressType -timeout 120m === RUN TestAccAWSALB_updatedIpAddressType --- PASS: TestAccAWSALB_updatedIpAddressType (284.42s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 284.447s ```
a5d6d96
to
4c65678
Compare
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Fixes: #11429