-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource/aws_vpc: Refactor to use keyvaluetags and call Read after Cr…
…eate Reference: #7926 In preparation for provider-wide ignore and default tag logic, here we refactor this resource to use the consistent keyvaluetags handling. The previous `setTags()` logic was always performing retries only necessary for resource creation and not following recommended practices to call the `Read` function after `Create`. Output from acceptance testing: ``` --- PASS: TestAccAWSVpc_disappears (16.21s) --- PASS: TestAccAWSVpc_coreMismatchedDiffs (23.55s) --- PASS: TestAccAWSVpc_DisabledDnsSupport (28.46s) --- PASS: TestAccAWSVpc_classiclinkOptionSet (28.64s) --- PASS: TestAccAWSVpc_bothDnsOptionsSet (28.66s) --- PASS: TestAccAWSVpc_classiclinkDnsSupportOptionSet (29.10s) --- PASS: TestAccAWSVpc_basic (29.31s) --- PASS: TestAccAWSVpc_update (40.02s) --- PASS: TestAccAWSVpc_tags (45.37s) --- PASS: TestAccAWSVpc_AssignGeneratedIpv6CidrBlock (62.90s) --- PASS: TestAccAWSVpc_Tenancy (62.94s) ```
- Loading branch information
Showing
1 changed file
with
103 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters