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

Update vpnsite_customer_gateway.go #26673

Merged
merged 5 commits into from
Nov 16, 2022
Merged

Conversation

dionasaur
Copy link
Contributor

@dionasaur dionasaur commented Sep 6, 2022

Line 56 should be changed to optional as this is not a required field in the AWS SDK API. Having this as required breaks terraform applies for certificate based vpn connections.

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 #10548.

Output from acceptance testing:

$ make testacc TESTS=TestAccXXX PKG=ec2

...

Line 56 should be changed to optional as this is not a required field in the AWS SDK API. Having this as required breaks terraform applies for certificate based vpn connections.
@github-actions github-actions bot added size/XS Managed by automation to categorize the size of a PR. service/vpnsite Issues and PRs that pertain to the vpnsite service. needs-triage Waiting for first response or review from a maintainer. labels Sep 6, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome @dionasaur 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@justinretzolk
Copy link
Member

Hey @dionasaur 👋 Thank you for taking the time to open this PR! In order for this to be reviewed, please take a look at the contribution guide section on making small changes to existing resources.

@justinretzolk justinretzolk added waiting-response Maintainers are waiting on response from community or contributor. and removed needs-triage Waiting for first response or review from a maintainer. labels Sep 6, 2022
@dionasaur
Copy link
Contributor Author

Thanks Justin! sorry about that I am working on the acceptance test :)

@github-actions github-actions bot removed the waiting-response Maintainers are waiting on response from community or contributor. label Sep 6, 2022
@dionasaur
Copy link
Contributor Author

dionasaur commented Sep 16, 2022

Hi Justin,

I'm a little unfamiliar with the process but i performed some tests with make test and this is what it came back with:

~/d/h/terraform-provider-aws (main)> make test
==> Checking that code complies with gofmt requirements...
go test ./... -timeout=5m
? github.com/hashicorp/terraform-provider-aws [no test files]
ok github.com/hashicorp/terraform-provider-aws/internal/acctest 4.556s
? github.com/hashicorp/terraform-provider-aws/internal/attrmap [no test files]
ok github.com/hashicorp/terraform-provider-aws/internal/conns 0.996s
ok github.com/hashicorp/terraform-provider-aws/internal/create 3.797s
? github.com/hashicorp/terraform-provider-aws/internal/diag [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/enum [no test files]
ok github.com/hashicorp/terraform-provider-aws/internal/experimental/nullable 3.861s
? github.com/hashicorp/terraform-provider-aws/internal/experimental/sync [no test files]
ok github.com/hashicorp/terraform-provider-aws/internal/flex 4.235s
? github.com/hashicorp/terraform-provider-aws/internal/generate/allowsubcats [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/checknames [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/customends [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/issuelabels [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/namescapslist [no test files]
ok github.com/hashicorp/terraform-provider-aws/internal/generate/namevaluesfilters 3.674s
? github.com/hashicorp/terraform-provider-aws/internal/generate/prlabels [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/servicelabels [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/servicesemgrep [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/sweepimp [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/tags/templates/v1 [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/tags/templates/v2 [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/generate/teamcity [no test files]
ok github.com/hashicorp/terraform-provider-aws/internal/provider 0.717s
ok github.com/hashicorp/terraform-provider-aws/internal/provider/fwprovider 4.595s
ok github.com/hashicorp/terraform-provider-aws/internal/service/accessanalyzer 3.561s
ok github.com/hashicorp/terraform-provider-aws/internal/service/account 7.414s
ok github.com/hashicorp/terraform-provider-aws/internal/service/acm 13.050s
ok github.com/hashicorp/terraform-provider-aws/internal/service/acmpca 21.898s
ok github.com/hashicorp/terraform-provider-aws/internal/service/amp 9.356s
ok github.com/hashicorp/terraform-provider-aws/internal/service/amplify 10.565s
ok github.com/hashicorp/terraform-provider-aws/internal/service/apigateway 14.266s
ok github.com/hashicorp/terraform-provider-aws/internal/service/apigatewayv2 13.164s
ok github.com/hashicorp/terraform-provider-aws/internal/service/appautoscaling 3.104s
ok github.com/hashicorp/terraform-provider-aws/internal/service/appconfig 3.278s
ok github.com/hashicorp/terraform-provider-aws/internal/service/appflow 4.642s
ok github.com/hashicorp/terraform-provider-aws/internal/service/appintegrations 3.050s
ok github.com/hashicorp/terraform-provider-aws/internal/service/applicationinsights 2.669s
ok github.com/hashicorp/terraform-provider-aws/internal/service/appmesh 3.974s
ok github.com/hashicorp/terraform-provider-aws/internal/service/apprunner 5.102s
ok github.com/hashicorp/terraform-provider-aws/internal/service/appstream 3.609s
ok github.com/hashicorp/terraform-provider-aws/internal/service/appsync 3.773s
ok github.com/hashicorp/terraform-provider-aws/internal/service/athena 3.275s
ok github.com/hashicorp/terraform-provider-aws/internal/service/autoscaling 3.397s
ok github.com/hashicorp/terraform-provider-aws/internal/service/autoscalingplans 3.635s
ok github.com/hashicorp/terraform-provider-aws/internal/service/backup 2.760s
ok github.com/hashicorp/terraform-provider-aws/internal/service/batch 8.761s
ok github.com/hashicorp/terraform-provider-aws/internal/service/budgets 6.598s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ce 5.521s
ok github.com/hashicorp/terraform-provider-aws/internal/service/chime 7.086s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloud9 7.646s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudcontrol 8.452s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudformation 4.153s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudfront 4.326s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudhsmv2 5.858s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudsearch 2.652s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudtrail 2.974s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudwatch 2.871s
ok github.com/hashicorp/terraform-provider-aws/internal/service/codeartifact 2.701s
ok github.com/hashicorp/terraform-provider-aws/internal/service/codebuild 2.625s
ok github.com/hashicorp/terraform-provider-aws/internal/service/codecommit 3.057s
ok github.com/hashicorp/terraform-provider-aws/internal/service/codepipeline 3.579s
ok github.com/hashicorp/terraform-provider-aws/internal/service/codestarconnections 2.883s
ok github.com/hashicorp/terraform-provider-aws/internal/service/codestarnotifications 2.690s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cognitoidentity 2.716s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cognitoidp 3.039s
ok github.com/hashicorp/terraform-provider-aws/internal/service/comprehend 2.980s
ok github.com/hashicorp/terraform-provider-aws/internal/service/configservice 2.985s
ok github.com/hashicorp/terraform-provider-aws/internal/service/connect 3.443s
ok github.com/hashicorp/terraform-provider-aws/internal/service/cur 3.772s
ok github.com/hashicorp/terraform-provider-aws/internal/service/dataexchange 4.689s
ok github.com/hashicorp/terraform-provider-aws/internal/service/datapipeline 6.229s
ok github.com/hashicorp/terraform-provider-aws/internal/service/datasync 2.689s
ok github.com/hashicorp/terraform-provider-aws/internal/service/dax 2.987s
ok github.com/hashicorp/terraform-provider-aws/internal/service/deploy 2.746s
ok github.com/hashicorp/terraform-provider-aws/internal/service/detective 2.877s
ok github.com/hashicorp/terraform-provider-aws/internal/service/devicefarm 2.980s
ok github.com/hashicorp/terraform-provider-aws/internal/service/directconnect 2.762s
ok github.com/hashicorp/terraform-provider-aws/internal/service/dlm 3.162s
ok github.com/hashicorp/terraform-provider-aws/internal/service/dms 2.727s
ok github.com/hashicorp/terraform-provider-aws/internal/service/docdb 3.860s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ds 2.956s
ok github.com/hashicorp/terraform-provider-aws/internal/service/dynamodb 3.136s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 20.355s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ecr 2.628s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ecrpublic 2.710s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ecs 4.127s
ok github.com/hashicorp/terraform-provider-aws/internal/service/efs 2.981s
ok github.com/hashicorp/terraform-provider-aws/internal/service/eks 3.754s
ok github.com/hashicorp/terraform-provider-aws/internal/service/elasticache 2.885s
ok github.com/hashicorp/terraform-provider-aws/internal/service/elasticbeanstalk 2.770s
ok github.com/hashicorp/terraform-provider-aws/internal/service/elasticsearch 3.353s
ok github.com/hashicorp/terraform-provider-aws/internal/service/elastictranscoder 3.322s
ok github.com/hashicorp/terraform-provider-aws/internal/service/elb 4.353s
ok github.com/hashicorp/terraform-provider-aws/internal/service/elbv2 9.262s
ok github.com/hashicorp/terraform-provider-aws/internal/service/emr 4.749s
ok github.com/hashicorp/terraform-provider-aws/internal/service/emrcontainers 3.314s
ok github.com/hashicorp/terraform-provider-aws/internal/service/emrserverless 2.970s
ok github.com/hashicorp/terraform-provider-aws/internal/service/events 4.185s
ok github.com/hashicorp/terraform-provider-aws/internal/service/firehose 2.728s
ok github.com/hashicorp/terraform-provider-aws/internal/service/fis 3.988s
ok github.com/hashicorp/terraform-provider-aws/internal/service/fms 5.674s
ok github.com/hashicorp/terraform-provider-aws/internal/service/fsx 4.854s
ok github.com/hashicorp/terraform-provider-aws/internal/service/gamelift 2.679s
ok github.com/hashicorp/terraform-provider-aws/internal/service/glacier 3.136s
ok github.com/hashicorp/terraform-provider-aws/internal/service/globalaccelerator 4.202s
ok github.com/hashicorp/terraform-provider-aws/internal/service/glue 2.801s
ok github.com/hashicorp/terraform-provider-aws/internal/service/grafana 4.820s
? github.com/hashicorp/terraform-provider-aws/internal/service/greengrass [no test files]
ok github.com/hashicorp/terraform-provider-aws/internal/service/guardduty 5.119s
ok github.com/hashicorp/terraform-provider-aws/internal/service/iam 9.096s
ok github.com/hashicorp/terraform-provider-aws/internal/service/identitystore 4.014s
ok github.com/hashicorp/terraform-provider-aws/internal/service/imagebuilder 2.661s
ok github.com/hashicorp/terraform-provider-aws/internal/service/inspector 4.981s
ok github.com/hashicorp/terraform-provider-aws/internal/service/iot 3.804s
? github.com/hashicorp/terraform-provider-aws/internal/service/iotanalytics [no test files]
? github.com/hashicorp/terraform-provider-aws/internal/service/iotevents [no test files]
ok github.com/hashicorp/terraform-provider-aws/internal/service/kafka 3.106s
ok github.com/hashicorp/terraform-provider-aws/internal/service/kafkaconnect 3.768s
ok github.com/hashicorp/terraform-provider-aws/internal/service/kendra 2.667s
ok github.com/hashicorp/terraform-provider-aws/internal/service/keyspaces 4.221s
ok github.com/hashicorp/terraform-provider-aws/internal/service/kinesis 2.660s
ok github.com/hashicorp/terraform-provider-aws/internal/service/kinesisanalytics 2.810s
ok github.com/hashicorp/terraform-provider-aws/internal/service/kinesisanalyticsv2 4.269s
ok github.com/hashicorp/terraform-provider-aws/internal/service/kinesisvideo 3.646s
ok github.com/hashicorp/terraform-provider-aws/internal/service/kms 2.797s
ok github.com/hashicorp/terraform-provider-aws/internal/service/lakeformation 2.653s
ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 5.326s
ok github.com/hashicorp/terraform-provider-aws/internal/service/lexmodels 3.489s
ok github.com/hashicorp/terraform-provider-aws/internal/service/licensemanager 3.797s
ok github.com/hashicorp/terraform-provider-aws/internal/service/lightsail 6.727s
ok github.com/hashicorp/terraform-provider-aws/internal/service/location 7.129s
ok github.com/hashicorp/terraform-provider-aws/internal/service/logs 3.464s
ok github.com/hashicorp/terraform-provider-aws/internal/service/macie 3.347s
ok github.com/hashicorp/terraform-provider-aws/internal/service/macie2 2.967s
? github.com/hashicorp/terraform-provider-aws/internal/service/mediaconnect [no test files]
ok github.com/hashicorp/terraform-provider-aws/internal/service/mediaconvert 3.032s
ok github.com/hashicorp/terraform-provider-aws/internal/service/medialive 3.678s
ok github.com/hashicorp/terraform-provider-aws/internal/service/mediapackage 3.662s
ok github.com/hashicorp/terraform-provider-aws/internal/service/mediastore 2.828s
ok github.com/hashicorp/terraform-provider-aws/internal/service/memorydb 3.054s
ok github.com/hashicorp/terraform-provider-aws/internal/service/meta 3.547s
ok github.com/hashicorp/terraform-provider-aws/internal/service/mq 2.922s
ok github.com/hashicorp/terraform-provider-aws/internal/service/mwaa 2.963s
ok github.com/hashicorp/terraform-provider-aws/internal/service/neptune 3.171s
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkfirewall 6.311s
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 2.641s
ok github.com/hashicorp/terraform-provider-aws/internal/service/opensearch 4.794s
ok github.com/hashicorp/terraform-provider-aws/internal/service/opsworks 4.023s
ok github.com/hashicorp/terraform-provider-aws/internal/service/organizations 4.491s
ok github.com/hashicorp/terraform-provider-aws/internal/service/outposts 5.767s
ok github.com/hashicorp/terraform-provider-aws/internal/service/pinpoint 7.340s
ok github.com/hashicorp/terraform-provider-aws/internal/service/pricing 5.593s
ok github.com/hashicorp/terraform-provider-aws/internal/service/qldb 4.684s
ok github.com/hashicorp/terraform-provider-aws/internal/service/quicksight 3.508s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ram 2.694s
ok github.com/hashicorp/terraform-provider-aws/internal/service/rds 4.596s
ok github.com/hashicorp/terraform-provider-aws/internal/service/redshift 4.462s
ok github.com/hashicorp/terraform-provider-aws/internal/service/redshiftdata 2.726s
ok github.com/hashicorp/terraform-provider-aws/internal/service/redshiftserverless 2.702s
ok github.com/hashicorp/terraform-provider-aws/internal/service/resourcegroups 4.296s
ok github.com/hashicorp/terraform-provider-aws/internal/service/resourcegroupstaggingapi 3.415s
ok github.com/hashicorp/terraform-provider-aws/internal/service/rolesanywhere 5.271s
ok github.com/hashicorp/terraform-provider-aws/internal/service/route53 3.124s
ok github.com/hashicorp/terraform-provider-aws/internal/service/route53domains 3.112s
ok github.com/hashicorp/terraform-provider-aws/internal/service/route53recoverycontrolconfig 4.380s
ok github.com/hashicorp/terraform-provider-aws/internal/service/route53recoveryreadiness 2.971s
ok github.com/hashicorp/terraform-provider-aws/internal/service/route53resolver 2.810s
ok github.com/hashicorp/terraform-provider-aws/internal/service/rum 2.671s
ok github.com/hashicorp/terraform-provider-aws/internal/service/s3 6.011s
ok github.com/hashicorp/terraform-provider-aws/internal/service/s3control 2.676s
ok github.com/hashicorp/terraform-provider-aws/internal/service/s3outposts 4.254s
ok github.com/hashicorp/terraform-provider-aws/internal/service/sagemaker 2.758s
ok github.com/hashicorp/terraform-provider-aws/internal/service/schemas 2.710s
ok github.com/hashicorp/terraform-provider-aws/internal/service/secretsmanager 2.793s
ok github.com/hashicorp/terraform-provider-aws/internal/service/securityhub 2.737s
ok github.com/hashicorp/terraform-provider-aws/internal/service/serverlessrepo 3.484s
ok github.com/hashicorp/terraform-provider-aws/internal/service/servicecatalog 3.213s
ok github.com/hashicorp/terraform-provider-aws/internal/service/servicediscovery 2.709s
ok github.com/hashicorp/terraform-provider-aws/internal/service/servicequotas 2.866s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ses 2.639s
ok github.com/hashicorp/terraform-provider-aws/internal/service/sfn 2.728s
ok github.com/hashicorp/terraform-provider-aws/internal/service/shield 2.753s
ok github.com/hashicorp/terraform-provider-aws/internal/service/signer 2.649s
ok github.com/hashicorp/terraform-provider-aws/internal/service/simpledb 3.189s
ok github.com/hashicorp/terraform-provider-aws/internal/service/sns 2.795s
ok github.com/hashicorp/terraform-provider-aws/internal/service/sqs 2.853s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ssm 2.819s
ok github.com/hashicorp/terraform-provider-aws/internal/service/ssoadmin 4.028s
ok github.com/hashicorp/terraform-provider-aws/internal/service/storagegateway 3.501s
ok github.com/hashicorp/terraform-provider-aws/internal/service/sts 4.205s
ok github.com/hashicorp/terraform-provider-aws/internal/service/swf 4.226s
ok github.com/hashicorp/terraform-provider-aws/internal/service/synthetics 2.721s
ok github.com/hashicorp/terraform-provider-aws/internal/service/timestreamwrite 4.531s
ok github.com/hashicorp/terraform-provider-aws/internal/service/transcribe 3.653s
ok github.com/hashicorp/terraform-provider-aws/internal/service/transfer 5.279s
ok github.com/hashicorp/terraform-provider-aws/internal/service/waf 5.009s
ok github.com/hashicorp/terraform-provider-aws/internal/service/wafregional 4.090s
ok github.com/hashicorp/terraform-provider-aws/internal/service/wafv2 2.736s
ok github.com/hashicorp/terraform-provider-aws/internal/service/worklink 2.849s
ok github.com/hashicorp/terraform-provider-aws/internal/service/workspaces 4.538s
ok github.com/hashicorp/terraform-provider-aws/internal/service/xray 7.849s
ok github.com/hashicorp/terraform-provider-aws/internal/tags 2.271s
ok github.com/hashicorp/terraform-provider-aws/internal/tfresource 39.041s
ok github.com/hashicorp/terraform-provider-aws/internal/vault/helper/pgpkeys 1.431s
ok github.com/hashicorp/terraform-provider-aws/internal/vault/sdk/helper/jsonutil 0.690s
ok github.com/hashicorp/terraform-provider-aws/internal/verify 1.882s
ok github.com/hashicorp/terraform-provider-aws/names 0.738s
? github.com/hashicorp/terraform-provider-aws/version [no test files]

@bschaatsbergen
Copy link
Member

Hi @dionasaur, could you please reference the issue related to this ticket in the body of the PR description. Also please take a good look at our contributor guide. I'm happy to help you if the pull request looks as expected, if you have a tough time enhancing this pull request feel free to shout and I'll give a hand.

@ewbankkit ewbankkit added the enhancement Requests to existing resources that expand the functionality or scope. label Nov 16, 2022
Acceptance test output:

% make testacc TESTARGS='-run=TestAccSiteVPNCustomerGateway_certificate' PKG=ec2 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 2  -run=TestAccSiteVPNCustomerGateway_certificate -timeout 180m
=== RUN   TestAccSiteVPNCustomerGateway_certificate
=== PAUSE TestAccSiteVPNCustomerGateway_certificate
=== CONT  TestAccSiteVPNCustomerGateway_certificate
--- PASS: TestAccSiteVPNCustomerGateway_certificate (88.60s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	93.560s
@github-actions github-actions bot added size/L Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. and removed size/XS Managed by automation to categorize the size of a PR. labels Nov 16, 2022
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 TESTARGS='-run=TestAccSiteVPNCustomerGateway' PKG=ec2 ACCTEST_PARALLELISM=2 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 2  -run=TestAccSiteVPNCustomerGateway -timeout 180m
=== RUN   TestAccSiteVPNCustomerGatewayDataSource_filter
=== PAUSE TestAccSiteVPNCustomerGatewayDataSource_filter
=== RUN   TestAccSiteVPNCustomerGatewayDataSource_id
=== PAUSE TestAccSiteVPNCustomerGatewayDataSource_id
=== RUN   TestAccSiteVPNCustomerGateway_basic
=== PAUSE TestAccSiteVPNCustomerGateway_basic
=== RUN   TestAccSiteVPNCustomerGateway_disappears
=== PAUSE TestAccSiteVPNCustomerGateway_disappears
=== RUN   TestAccSiteVPNCustomerGateway_tags
=== PAUSE TestAccSiteVPNCustomerGateway_tags
=== RUN   TestAccSiteVPNCustomerGateway_deviceName
=== PAUSE TestAccSiteVPNCustomerGateway_deviceName
=== RUN   TestAccSiteVPNCustomerGateway_4ByteASN
=== PAUSE TestAccSiteVPNCustomerGateway_4ByteASN
=== RUN   TestAccSiteVPNCustomerGateway_certificate
=== PAUSE TestAccSiteVPNCustomerGateway_certificate
=== CONT  TestAccSiteVPNCustomerGatewayDataSource_filter
=== CONT  TestAccSiteVPNCustomerGateway_tags
--- PASS: TestAccSiteVPNCustomerGatewayDataSource_filter (29.01s)
=== CONT  TestAccSiteVPNCustomerGateway_basic
--- PASS: TestAccSiteVPNCustomerGateway_tags (57.53s)
=== CONT  TestAccSiteVPNCustomerGateway_disappears
--- PASS: TestAccSiteVPNCustomerGateway_basic (29.37s)
=== CONT  TestAccSiteVPNCustomerGatewayDataSource_id
--- PASS: TestAccSiteVPNCustomerGateway_disappears (24.12s)
=== CONT  TestAccSiteVPNCustomerGateway_4ByteASN
--- PASS: TestAccSiteVPNCustomerGatewayDataSource_id (27.01s)
=== CONT  TestAccSiteVPNCustomerGateway_certificate
--- PASS: TestAccSiteVPNCustomerGateway_4ByteASN (29.13s)
=== CONT  TestAccSiteVPNCustomerGateway_deviceName
--- PASS: TestAccSiteVPNCustomerGateway_deviceName (28.59s)
--- PASS: TestAccSiteVPNCustomerGateway_certificate (88.01s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ec2	178.692s

@ewbankkit
Copy link
Contributor

@dionasaur Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 1ba772f into hashicorp:main Nov 16, 2022
@github-actions github-actions bot added this to the v4.40.0 milestone Nov 16, 2022
@bschaatsbergen
Copy link
Member

bschaatsbergen commented Nov 16, 2022

@dionasaur, for future contributions, you can run make testacc with some flags:

make testacc TESTS=TestAccSiteVPNCustomerGateway_ PKG=ec2

This runs every test in the ec2 package that matches TestAccSiteVPNCustomerGateway_

@github-actions
Copy link

This functionality has been released in v4.40.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. Thank you!

@github-actions
Copy link

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 18, 2022
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/vpnsite Issues and PRs that pertain to the vpnsite service. size/L 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.

4 participants