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

r/aws_customer_gateway: Add device_name attribute #14786

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

shuheiktgw
Copy link
Collaborator

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #14346

Release note for CHANGELOG:

r/aws_customer_gateway: Add device_name attribute
d/aws_customer_gateway: Add device_name attribute

Output from acceptance testing:

# For r/aws_customer_gateway
$ make testacc TESTARGS='-run=TestAccAWSCustomerGateway_deviceName'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCustomerGateway_deviceName -timeout 120m
=== RUN   TestAccAWSCustomerGateway_deviceName
=== PAUSE TestAccAWSCustomerGateway_deviceName
=== CONT  TestAccAWSCustomerGateway_deviceName
--- PASS: TestAccAWSCustomerGateway_deviceName (48.46s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	50.207s

# For d/aws_customer_gateway
$  make testacc TESTARGS='-run=TestAccAWSCustomerGatewayDataSource_ID'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCustomerGatewayDataSource_ID -timeout 120m
=== RUN   TestAccAWSCustomerGatewayDataSource_ID
=== PAUSE TestAccAWSCustomerGatewayDataSource_ID
=== CONT  TestAccAWSCustomerGatewayDataSource_ID
--- PASS: TestAccAWSCustomerGatewayDataSource_ID (44.86s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	46.584s
...

Thank you for your review!

@shuheiktgw shuheiktgw requested a review from a team August 22, 2020 04:48
@ghost ghost added size/M Managed by automation to categorize the size of a PR. service/ec2 Issues and PRs that pertain to the ec2 service. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. needs-triage Waiting for first response or review from a maintainer. labels Aug 22, 2020
@shuheiktgw shuheiktgw changed the title Add device name attribute r/aws_customer_gateway: Add device_name attribute Aug 22, 2020
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

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

LGTM.

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSCustomerGateway_\|TestAccAWSCustomerGatewayDataSource_' ACCTEST_PARALLELISM=4
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 4 -run=TestAccAWSCustomerGateway_\|TestAccAWSCustomerGatewayDataSource_ -timeout 120m
=== RUN   TestAccAWSCustomerGatewayDataSource_Filter
=== PAUSE TestAccAWSCustomerGatewayDataSource_Filter
=== RUN   TestAccAWSCustomerGatewayDataSource_ID
=== PAUSE TestAccAWSCustomerGatewayDataSource_ID
=== RUN   TestAccAWSCustomerGateway_basic
=== PAUSE TestAccAWSCustomerGateway_basic
=== RUN   TestAccAWSCustomerGateway_tags
=== PAUSE TestAccAWSCustomerGateway_tags
=== RUN   TestAccAWSCustomerGateway_similarAlreadyExists
=== PAUSE TestAccAWSCustomerGateway_similarAlreadyExists
=== RUN   TestAccAWSCustomerGateway_deviceName
=== PAUSE TestAccAWSCustomerGateway_deviceName
=== RUN   TestAccAWSCustomerGateway_disappears
=== PAUSE TestAccAWSCustomerGateway_disappears
=== RUN   TestAccAWSCustomerGateway_4ByteAsn
=== PAUSE TestAccAWSCustomerGateway_4ByteAsn
=== CONT  TestAccAWSCustomerGatewayDataSource_Filter
=== CONT  TestAccAWSCustomerGateway_deviceName
=== CONT  TestAccAWSCustomerGateway_4ByteAsn
=== CONT  TestAccAWSCustomerGateway_disappears
    resource_aws_customer_gateway_test.go:158: [INFO] Got non-empty plan, as expected
--- PASS: TestAccAWSCustomerGateway_disappears (28.01s)
=== CONT  TestAccAWSCustomerGateway_tags
--- PASS: TestAccAWSCustomerGatewayDataSource_Filter (32.08s)
=== CONT  TestAccAWSCustomerGateway_similarAlreadyExists
--- PASS: TestAccAWSCustomerGateway_deviceName (36.85s)
=== CONT  TestAccAWSCustomerGateway_basic
--- PASS: TestAccAWSCustomerGateway_4ByteAsn (37.03s)
=== CONT  TestAccAWSCustomerGatewayDataSource_ID
--- PASS: TestAccAWSCustomerGatewayDataSource_ID (30.50s)
--- PASS: TestAccAWSCustomerGateway_similarAlreadyExists (40.91s)
--- PASS: TestAccAWSCustomerGateway_tags (64.89s)
--- PASS: TestAccAWSCustomerGateway_basic (60.74s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	97.638s

Base automatically changed from master to main January 23, 2021 00:58
@breathingdust breathingdust requested a review from a team as a code owner January 23, 2021 00:58
@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Feb 11, 2021
@bflad bflad self-assigned this Feb 11, 2021
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, thank you, @shuheiktgw 🚀

Output from acceptance testing in AWS Commercial:

--- PASS: TestAccAWSCustomerGateway_disappears (23.96s)
--- PASS: TestAccAWSCustomerGateway_4ByteAsn (27.20s)
--- PASS: TestAccAWSCustomerGatewayDataSource_Filter (27.34s)
--- PASS: TestAccAWSCustomerGatewayDataSource_ID (27.47s)
--- PASS: TestAccAWSCustomerGateway_deviceName (28.85s)
--- PASS: TestAccAWSCustomerGateway_similarAlreadyExists (33.20s)
--- PASS: TestAccAWSCustomerGateway_tags (49.16s)
--- PASS: TestAccAWSCustomerGateway_basic (50.72s)

Output from acceptance testing in AWS GovCloud (US):

--- PASS: TestAccAWSCustomerGateway_disappears (27.96s)
--- PASS: TestAccAWSCustomerGatewayDataSource_Filter (30.89s)
--- PASS: TestAccAWSCustomerGatewayDataSource_ID (32.31s)
--- PASS: TestAccAWSCustomerGateway_deviceName (34.94s)
--- PASS: TestAccAWSCustomerGateway_4ByteAsn (34.94s)
--- PASS: TestAccAWSCustomerGateway_similarAlreadyExists (39.80s)
--- PASS: TestAccAWSCustomerGateway_basic (59.86s)
--- PASS: TestAccAWSCustomerGateway_tags (61.27s)

@bflad bflad merged commit 3fef56d into hashicorp:main Feb 11, 2021
@github-actions github-actions bot added this to the v3.28.0 milestone Feb 11, 2021
bflad added a commit that referenced this pull request Feb 11, 2021
@ghost
Copy link

ghost commented Feb 12, 2021

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

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Mar 14, 2021

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 as resolved and limited conversation to collaborators Mar 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service. size/M Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_customer_gateway device name attribute
3 participants