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

Support switching VPC tenancy from Dedicated to Default #2514

Merged
merged 1 commit into from
Jun 22, 2018

Conversation

ewbankkit
Copy link
Contributor

Fixes #1955.
N.B. This adds a requirement on the IAM ec2:ModifyVpcTenancy action.

@radeksimko radeksimko added the enhancement Requests to existing resources that expand the functionality or scope. label Dec 1, 2017
@bflad bflad added the service/ec2 Issues and PRs that pertain to the ec2 service. label Jan 28, 2018
@ghost ghost added the size/L Managed by automation to categorize the size of a PR. label Jun 22, 2018
@ewbankkit
Copy link
Contributor Author

Rebased to correct conflicts.

Acceptance tests:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSVpc_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -run=TestAccAWSVpc_ -timeout 120m
=== RUN   TestAccAWSVpc_coreMismatchedDiffs
--- PASS: TestAccAWSVpc_coreMismatchedDiffs (36.50s)
=== RUN   TestAccAWSVpc_importBasic
--- PASS: TestAccAWSVpc_importBasic (43.93s)
=== RUN   TestAccAWSVpc_basic
--- PASS: TestAccAWSVpc_basic (37.59s)
=== RUN   TestAccAWSVpc_enableIpv6
--- PASS: TestAccAWSVpc_enableIpv6 (98.54s)
=== RUN   TestAccAWSVpc_dedicatedTenancy
--- PASS: TestAccAWSVpc_dedicatedTenancy (36.67s)
=== RUN   TestAccAWSVpc_modifyTenancy
--- PASS: TestAccAWSVpc_modifyTenancy (112.87s)
=== RUN   TestAccAWSVpc_tags
--- PASS: TestAccAWSVpc_tags (68.48s)
=== RUN   TestAccAWSVpc_update
--- PASS: TestAccAWSVpc_update (70.76s)
=== RUN   TestAccAWSVpc_bothDnsOptionsSet
--- PASS: TestAccAWSVpc_bothDnsOptionsSet (40.09s)
=== RUN   TestAccAWSVpc_DisabledDnsSupport
--- PASS: TestAccAWSVpc_DisabledDnsSupport (37.69s)
=== RUN   TestAccAWSVpc_classiclinkOptionSet
--- PASS: TestAccAWSVpc_classiclinkOptionSet (37.30s)
=== RUN   TestAccAWSVpc_classiclinkDnsSupportOptionSet
--- PASS: TestAccAWSVpc_classiclinkDnsSupportOptionSet (38.48s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	659.480s

@ghost ghost added the size/L Managed by automation to categorize the size of a PR. label Jun 22, 2018
@bflad bflad added this to the v1.25.0 milestone Jun 22, 2018
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks @ewbankkit! 🚀

12 tests passed (all tests)
=== RUN   TestAccAWSVpc_classiclinkOptionSet
--- PASS: TestAccAWSVpc_classiclinkOptionSet (16.09s)
=== RUN   TestAccAWSVpc_DisabledDnsSupport
--- PASS: TestAccAWSVpc_DisabledDnsSupport (19.01s)
=== RUN   TestAccAWSVpc_coreMismatchedDiffs
--- PASS: TestAccAWSVpc_coreMismatchedDiffs (19.20s)
=== RUN   TestAccAWSVpc_classiclinkDnsSupportOptionSet
--- PASS: TestAccAWSVpc_classiclinkDnsSupportOptionSet (21.71s)
=== RUN   TestAccAWSVpc_importBasic
--- PASS: TestAccAWSVpc_importBasic (22.48s)
=== RUN   TestAccAWSVpc_basic
--- PASS: TestAccAWSVpc_basic (22.46s)
=== RUN   TestAccAWSVpc_dedicatedTenancy
--- PASS: TestAccAWSVpc_dedicatedTenancy (24.21s)
=== RUN   TestAccAWSVpc_tags
--- PASS: TestAccAWSVpc_tags (24.62s)
=== RUN   TestAccAWSVpc_update
--- PASS: TestAccAWSVpc_update (26.53s)
=== RUN   TestAccAWSVpc_modifyTenancy
--- PASS: TestAccAWSVpc_modifyTenancy (33.97s)
=== RUN   TestAccAWSVpc_bothDnsOptionsSet
--- PASS: TestAccAWSVpc_bothDnsOptionsSet (34.65s)
=== RUN   TestAccAWSVpc_enableIpv6
--- PASS: TestAccAWSVpc_enableIpv6 (36.17s)

@bflad bflad merged commit 669b6c4 into hashicorp:master Jun 22, 2018
bflad added a commit that referenced this pull request Jun 22, 2018
@ewbankkit ewbankkit deleted the issue-1955 branch June 22, 2018 19:37
@bflad
Copy link
Contributor

bflad commented Jun 27, 2018

This has been released in version 1.25.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 5, 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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service. size/L Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support switching VPC tenancy from Dedicated to Default
3 participants