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

d/aws_network_interface: AWS Wavelength support #16723

Conversation

ewbankkit
Copy link
Contributor

@ewbankkit ewbankkit commented Dec 11, 2020

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

Relates #14518.

Release note for CHANGELOG:

data-source/aws_network_interface: Add `carrier_ip` attribute to `association` configuration block.
data-source/aws_network_interface: Add `customer_owned_ip` attribute to `association` configuration block.

Output from acceptance testing:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccDataSourceAwsNetworkInterface_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccDataSourceAwsNetworkInterface_ -timeout 120m
=== RUN   TestAccDataSourceAwsNetworkInterface_basic
=== PAUSE TestAccDataSourceAwsNetworkInterface_basic
=== RUN   TestAccDataSourceAwsNetworkInterface_filters
=== PAUSE TestAccDataSourceAwsNetworkInterface_filters
=== RUN   TestAccDataSourceAwsNetworkInterface_CarrierIPAssociation
=== PAUSE TestAccDataSourceAwsNetworkInterface_CarrierIPAssociation
=== RUN   TestAccDataSourceAwsNetworkInterface_PublicIPAssociation
=== PAUSE TestAccDataSourceAwsNetworkInterface_PublicIPAssociation
=== CONT  TestAccDataSourceAwsNetworkInterface_basic
=== CONT  TestAccDataSourceAwsNetworkInterface_PublicIPAssociation
--- PASS: TestAccDataSourceAwsNetworkInterface_basic (57.53s)
=== CONT  TestAccDataSourceAwsNetworkInterface_CarrierIPAssociation
--- PASS: TestAccDataSourceAwsNetworkInterface_PublicIPAssociation (68.65s)
=== CONT  TestAccDataSourceAwsNetworkInterface_filters
--- PASS: TestAccDataSourceAwsNetworkInterface_CarrierIPAssociation (59.77s)
--- PASS: TestAccDataSourceAwsNetworkInterface_filters (56.30s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	125.043s

Requires updates to aws_eip to test: #16724.

@ewbankkit ewbankkit requested a review from a team as a code owner December 11, 2020 18:16
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/ec2 Issues and PRs that pertain to the ec2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Dec 11, 2020
@ewbankkit ewbankkit force-pushed the f-aws_network_interface-association.carrier_ip branch from 4093cbd to 98eb8b1 Compare December 14, 2020 13:47
…sting new functionality.

Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccDataSourceAwsNetworkInterface_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccDataSourceAwsNetworkInterface_ -timeout 120m
=== RUN   TestAccDataSourceAwsNetworkInterface_basic
=== PAUSE TestAccDataSourceAwsNetworkInterface_basic
=== RUN   TestAccDataSourceAwsNetworkInterface_filters
=== PAUSE TestAccDataSourceAwsNetworkInterface_filters
=== CONT  TestAccDataSourceAwsNetworkInterface_basic
=== CONT  TestAccDataSourceAwsNetworkInterface_filters
--- PASS: TestAccDataSourceAwsNetworkInterface_filters (57.63s)
--- PASS: TestAccDataSourceAwsNetworkInterface_basic (57.84s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	57.929s
…PAssociation'.

Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccDataSourceAwsNetworkInterface_EIPAssociation' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccDataSourceAwsNetworkInterface_EIPAssociation -timeout 120m
=== RUN   TestAccDataSourceAwsNetworkInterface_EIPAssociation
=== PAUSE TestAccDataSourceAwsNetworkInterface_EIPAssociation
=== CONT  TestAccDataSourceAwsNetworkInterface_EIPAssociation
--- PASS: TestAccDataSourceAwsNetworkInterface_EIPAssociation (67.86s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	67.946s
Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccDataSourceAwsNetworkInterface_PublicIPAssociation'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccDataSourceAwsNetworkInterface_PublicIPAssociation -timeout 120m
=== RUN   TestAccDataSourceAwsNetworkInterface_PublicIPAssociation
=== PAUSE TestAccDataSourceAwsNetworkInterface_PublicIPAssociation
=== CONT  TestAccDataSourceAwsNetworkInterface_PublicIPAssociation
--- PASS: TestAccDataSourceAwsNetworkInterface_PublicIPAssociation (67.42s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	67.484s
@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label Dec 15, 2020
@bflad
Copy link
Contributor

bflad commented Dec 15, 2020

Ready for rebase/update

@bflad bflad self-assigned this Dec 15, 2020
@ewbankkit ewbankkit force-pushed the f-aws_network_interface-association.carrier_ip branch from 98eb8b1 to 5842081 Compare December 15, 2020 14:06
@ewbankkit ewbankkit changed the title [WIP] d/aws_network_interface: AWS Wavelength support d/aws_network_interface: AWS Wavelength support Dec 15, 2020
@bflad bflad added this to the v3.22.0 milestone Dec 15, 2020
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 good, thank you, @ewbankkit 🚀

Output from acceptance testing in AWS Commercial:

--- PASS: TestAccDataSourceAwsNetworkInterface_basic (62.38s)
--- PASS: TestAccDataSourceAwsNetworkInterface_filters (62.62s)
--- PASS: TestAccDataSourceAwsNetworkInterface_CarrierIPAssociation (67.55s)
--- PASS: TestAccDataSourceAwsNetworkInterface_PublicIPAssociation (73.60s)

Output from acceptance testing in AWS GovCloud (US):

--- SKIP: TestAccDataSourceAwsNetworkInterface_CarrierIPAssociation (1.98s)
--- PASS: TestAccDataSourceAwsNetworkInterface_filters (64.49s)
--- PASS: TestAccDataSourceAwsNetworkInterface_basic (65.10s)
--- PASS: TestAccDataSourceAwsNetworkInterface_PublicIPAssociation (75.39s)

@bflad bflad merged commit 073f1da into hashicorp:master Dec 15, 2020
bflad added a commit that referenced this pull request Dec 15, 2020
@ewbankkit ewbankkit deleted the f-aws_network_interface-association.carrier_ip branch December 15, 2020 15:31
@ghost
Copy link

ghost commented Dec 18, 2020

This has been released in version 3.22.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 Jan 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 Jan 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/XL 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.

2 participants