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

New Resource aws_route53domains_domain #12711

Merged
merged 53 commits into from
Mar 1, 2022

Conversation

gazoakley
Copy link
Contributor

@gazoakley gazoakley commented Apr 7, 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

Closes #88
Relates #12797

Release note for CHANGELOG:

**New Resource**: `aws_route53domains_domain` (#12711)

Output from acceptance testing:

$ ROUTE53DOMAINS_DOMAIN=gazoakleytest.net make testacc TESTARGS='-run=TestAccAWSRoute53DomainsDomain_'

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -count 1 -parallel 20 -run=TestAccAWSRoute53DomainsDomain_ -timeout 120m
?   	github.com/terraform-providers/terraform-provider-aws	[no test files]
=== RUN   TestAccAWSRoute53DomainsDomain_Basic
--- PASS: TestAccAWSRoute53DomainsDomain_Basic (24.60s)
=== RUN   TestAccAWSRoute53DomainsDomain_Tags
    TestAccAWSRoute53DomainsDomain_Tags: testing.go:669: Step 0 error: Check failed: Check 1/2 error: aws_route53domains_domain.test: Attribute 'tags.%' expected "1", got "2"
--- FAIL: TestAccAWSRoute53DomainsDomain_Tags (14.55s)
=== RUN   TestAccAWSRoute53DomainsDomain_AutoRenew
    TestAccAWSRoute53DomainsDomain_AutoRenew: testing.go:669: Step 0 error: Check failed: Check 1/1 error: aws_route53domains_domain.test: Attribute 'auto_renew' expected "false", got "true"
--- FAIL: TestAccAWSRoute53DomainsDomain_AutoRenew (12.27s)
=== RUN   TestAccAWSRoute53DomainsDomain_TransferLock
    TestAccAWSRoute53DomainsDomain_TransferLock: testing.go:669: Step 0 error: Check failed: Check 1/1 error: aws_route53domains_domain.test: Attribute 'transfer_lock' expected "false", got "true"
--- FAIL: TestAccAWSRoute53DomainsDomain_TransferLock (13.56s)
=== RUN   TestAccAWSRoute53DomainsDomain_Privacy
--- PASS: TestAccAWSRoute53DomainsDomain_Privacy (261.85s)
=== RUN   TestAccAWSRoute53DomainsDomain_NameServers
--- PASS: TestAccAWSRoute53DomainsDomain_NameServers (177.30s)
FAIL
FAIL	github.com/terraform-providers/terraform-provider-aws/aws	507.409s

@gazoakley gazoakley requested a review from a team April 7, 2020 16:31
@ghost ghost added size/XXL Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. provider Pertains to the provider itself, rather than any interaction with AWS. dependencies Used to indicate dependency changes. documentation Introduces or discusses updates to documentation. labels Apr 7, 2020
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. and removed size/XXL Managed by automation to categorize the size of a PR. labels Apr 25, 2020
@ghost ghost added the service/route53domains Issues and PRs that pertain to the route53domains service. label Apr 25, 2020
@gazoakley gazoakley changed the title [WIP] New Resource aws_route53_domain [WIP] New Resource aws_route53domains_domain Apr 26, 2020
@ghost ghost added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XXL Managed by automation to categorize the size of a PR. and removed size/XL Managed by automation to categorize the size of a PR. labels Apr 26, 2020
@teamterraform
Copy link

Notification of Recent and Upcoming Changes to Contributions

Thank you for this contribution! There have been a few recent development changes that affect this pull request. We apologize for the inconvenience, especially if there have been long review delays up until now. Please note that this is automated message from an unmonitored account. See the FAQ for additional information on the maintainer team and review prioritization.

If you are unable to complete these updates, please leave a comment for the community and maintainers so someone can potentially continue the work. The maintainers will encourage other contributors to use the existing contribution as the base for additional changes as appropriate. Otherwise, contributions that do not receive updated code or comments from the original contributor may be closed in the future so the maintainers can focus on active items.

For the most up to date information about Terraform AWS Provider development, see the Contributing Guide. Additional technical debt changes can be tracked with the technical-debt label on issues.

As part of updating a pull request with these changes, the most current unit testing and linting will run. These may report issues that were not previously reported.

Terraform 0.12 Syntax

Reference: #8950
Reference: #14417

Version 3 and later of the Terraform AWS Provider, which all existing contributions would potentially be added, only supports Terraform 0.12 and later. Certain syntax elements of Terraform 0.11 and earlier show deprecation warnings during runs with Terraform 0.12. Documentation and test configurations, such as those including deprecated string interpolations (some_attribute = "${aws_service_thing.example.id}") should be updated to the newer syntax (some_attribute = aws_service_thing.example.id). Contribution testing will automatically fail on older syntax in the near future. Please see the referenced issues for additional information.

Action Required: Terraform Plugin SDK Version 2

Reference: #14551

The Terraform AWS Provider has been upgraded to the latest version of the Terraform Plugin SDK. Generally, most changes to contributions should only involve updating Go import paths in source code files. Please see the referenced issue for additional information.

Action Required: Removal of website/aws.erb File

Reference: #14712

Any changes to the website/aws.erb file are no longer necessary and should be removed from this contribution to prevent merge issues in the near future when the file is removed from the repository. Please see the referenced issue for additional information.

Upcoming Change of Git Branch Naming

Reference: #14292

Development environments will need their upstream Git branch updated from master to main in the near future. Please see the referenced issue for additional information and scheduling.

Upcoming Change of GitHub Organization

Reference: #14715

This repository will be migrating from https://github.com/terraform-providers/terraform-provider-aws to https://github.com/hashicorp/terraform-provider-aws. No practitioner or developer action is anticipated and most GitHub functionality will automatically redirect to the new location. Go import paths including terraform-providers can remain for now. Please see the referenced issue for additional information and scheduling.

@bflad bflad added new-resource Introduces a new resource. and removed dependencies Used to indicate dependency changes. needs-triage Waiting for first response or review from a maintainer. labels Oct 2, 2020
Base automatically changed from master to main January 23, 2021 00:57
@github-actions github-actions bot added service/codepipeline Issues and PRs that pertain to the codepipeline service. service/route53 Issues and PRs that pertain to the route53 service. sweeper Pertains to changes to or issues with the sweeper. size/XL Managed by automation to categorize the size of a PR. and removed service/route53 Issues and PRs that pertain to the route53 service. service/codepipeline Issues and PRs that pertain to the codepipeline service. sweeper Pertains to changes to or issues with the sweeper. labels Feb 16, 2022
@github-actions github-actions bot added service/codepipeline Issues and PRs that pertain to the codepipeline service. service/route53 Issues and PRs that pertain to the route53 service. sweeper Pertains to changes to or issues with the sweeper. labels Feb 24, 2022
@ewbankkit ewbankkit removed the size/XXL Managed by automation to categorize the size of a PR. label Feb 24, 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 🚀.

% AWS_DEFAULT_REGION=us-east-1 ROUTE53DOMAINS_DOMAIN_NAME=terraform-provider-aws-acctest-acm.com make testacc TESTS=TestAccRoute53Domains_serial PKG=route53domains
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/route53domains/... -v -count 1 -parallel 20 -run='TestAccRoute53Domains_serial'  -timeout 180m
=== RUN   TestAccRoute53Domains_serial
=== RUN   TestAccRoute53Domains_serial/RegisteredDomain
=== RUN   TestAccRoute53Domains_serial/RegisteredDomain/contactPrivacy
=== RUN   TestAccRoute53Domains_serial/RegisteredDomain/nameservers
=== RUN   TestAccRoute53Domains_serial/RegisteredDomain/transferLock
=== RUN   TestAccRoute53Domains_serial/RegisteredDomain/tags
=== RUN   TestAccRoute53Domains_serial/RegisteredDomain/autoRenew
=== RUN   TestAccRoute53Domains_serial/RegisteredDomain/contacts
--- PASS: TestAccRoute53Domains_serial (767.58s)
    --- PASS: TestAccRoute53Domains_serial/RegisteredDomain (767.58s)
        --- PASS: TestAccRoute53Domains_serial/RegisteredDomain/contactPrivacy (78.74s)
        --- PASS: TestAccRoute53Domains_serial/RegisteredDomain/nameservers (126.92s)
        --- PASS: TestAccRoute53Domains_serial/RegisteredDomain/transferLock (141.80s)
        --- PASS: TestAccRoute53Domains_serial/RegisteredDomain/tags (20.01s)
        --- PASS: TestAccRoute53Domains_serial/RegisteredDomain/autoRenew (13.39s)
        --- PASS: TestAccRoute53Domains_serial/RegisteredDomain/contacts (386.72s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/route53domains	771.075s

@ewbankkit
Copy link
Contributor

@gazoakley Thanks for the contribution 🎉 👏.

@ewbankkit
Copy link
Contributor

The AWS Provider team at HashiCorp has used the introduction of a new AWS service in this PR to prototype use of the AWS SDK for Go v2.
Support is very much still experimental and we DO NOT recommend that new contributions use AWS SDK for Go v2 until the team has gained more experience with its use.

@ewbankkit ewbankkit merged commit 873c1a3 into hashicorp:main Mar 1, 2022
@github-actions github-actions bot modified the milestones: Roadmap, v4.4.0 Mar 1, 2022
@github-actions
Copy link

github-actions bot commented Mar 4, 2022

This functionality has been released in v4.4.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 May 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
client-connections Pertains to the AWS Client and service connections. documentation Introduces or discusses updates to documentation. generators Relates to code generators. new-resource Introduces a new resource. provider Pertains to the provider itself, rather than any interaction with AWS. service/codepipeline Issues and PRs that pertain to the codepipeline service. service/route53domains Issues and PRs that pertain to the route53domains service. service/route53 Issues and PRs that pertain to the route53 service. size/XL Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. 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.

Feature Request: Support Route53 Domains
7 participants