-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 Resources: aws_lightsail_lb
and aws_lightsail_lb_attachment
#27339
Conversation
Action Required: Removal of website/aws.erb File
This Spelling error is already resolved in the main branch and this change is causing a conflict.
* Added dns_name to Read
Removed conflict, removed SetPartial
Fixed: Linting issues and sync upstream
Feature: Path acctests added
Requested Changes Implemented
* Add acceptance tests for `aws_lightsail_lb` resource.
Community NoteVoting for Prioritization
For Submitters
|
* moved from testDestroy to acctest.CheckResourceDisappears
Add checkdestroy
* move import to use new context function
* remove extra new lines flagged by golangci-lint
Latest test output with most recent changes:
|
There was a problem hiding this 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=TestAccLightsailLoadBalancer' PKG=lightsail ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lightsail/... -v -count 1 -parallel 3 -run=TestAccLightsailLoadBalancer -timeout 180m
=== RUN TestAccLightsailLoadBalancerAttachment_basic
=== PAUSE TestAccLightsailLoadBalancerAttachment_basic
=== RUN TestAccLightsailLoadBalancerAttachment_disappears
=== PAUSE TestAccLightsailLoadBalancerAttachment_disappears
=== RUN TestAccLightsailLoadBalancer_basic
=== PAUSE TestAccLightsailLoadBalancer_basic
=== RUN TestAccLightsailLoadBalancer_Name
=== PAUSE TestAccLightsailLoadBalancer_Name
=== RUN TestAccLightsailLoadBalancer_HealthCheckPath
=== PAUSE TestAccLightsailLoadBalancer_HealthCheckPath
=== RUN TestAccLightsailLoadBalancer_Tags
=== PAUSE TestAccLightsailLoadBalancer_Tags
=== RUN TestAccLightsailLoadBalancer_disappears
=== PAUSE TestAccLightsailLoadBalancer_disappears
=== CONT TestAccLightsailLoadBalancerAttachment_basic
=== CONT TestAccLightsailLoadBalancer_HealthCheckPath
=== CONT TestAccLightsailLoadBalancer_basic
--- PASS: TestAccLightsailLoadBalancer_basic (120.32s)
=== CONT TestAccLightsailLoadBalancer_Name
--- PASS: TestAccLightsailLoadBalancer_HealthCheckPath (139.60s)
=== CONT TestAccLightsailLoadBalancer_disappears
--- PASS: TestAccLightsailLoadBalancer_disappears (121.91s)
=== CONT TestAccLightsailLoadBalancerAttachment_disappears
--- PASS: TestAccLightsailLoadBalancer_Name (234.37s)
=== CONT TestAccLightsailLoadBalancer_Tags
--- PASS: TestAccLightsailLoadBalancerAttachment_basic (504.03s)
--- PASS: TestAccLightsailLoadBalancer_Tags (164.36s)
--- PASS: TestAccLightsailLoadBalancerAttachment_disappears (499.39s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lightsail 765.017s
This functionality has been released in v4.36.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! |
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. |
Description
Adds the following resources to terraform
aws_lightsail_lb
andaws_lightsail_lb_attachment
. This Pull request includes the orriginal commits from this Pull request #11405 and refactors it to bring it up to speed with the new provider layout.Relations
Closes #11049
Closes #11421
Relates #11405
References
Output from Acceptance Testing