Skip to content
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

Merged
merged 1 commit into from
Apr 4, 2017

Conversation

stack72
Copy link
Contributor

@stack72 stack72 commented Mar 30, 2017

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

@stack72 stack72 force-pushed the f-aws-alb-ip-address-type branch 2 times, most recently from cd64e81 to 503f103 Compare March 31, 2017 17:18
@stack72 stack72 changed the title [WIP] provider/aws: Support ip_address_type for aws_alb provider/aws: Support ip_address_type for aws_alb Mar 31, 2017
Copy link
Member

@radeksimko radeksimko left a 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"},
Copy link
Member

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"),
Copy link
Member

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?

@stack72 stack72 force-pushed the f-aws-alb-ip-address-type branch from 503f103 to a5d6d96 Compare April 4, 2017 08:58
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
```
@stack72 stack72 force-pushed the f-aws-alb-ip-address-type branch from a5d6d96 to 4c65678 Compare April 4, 2017 10:18
@stack72 stack72 merged commit 6025967 into master Apr 4, 2017
@stack72 stack72 deleted the f-aws-alb-ip-address-type branch April 4, 2017 10:29
@ghost
Copy link

ghost commented Apr 14, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request set-ip-address-type for aws_alb resource
2 participants