-
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_cloudformation_stack: Fix perpetual diff on template wit…
…h transform (#9006) In refreshing the state of an aws_cloudformation_stack, request the "Original" template body with CFn GetTemplate API to avoid perpetual diff in case the template uses macro transform, such as the AWS::Serverless framework. ref: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_GetTemplate.html Output from acceptance testing: ``` --- PASS: TestAccAWSCloudFormationStack_allAttributes (66.95s) --- PASS: TestAccAWSCloudFormationStack_basic (65.97s) --- PASS: TestAccAWSCloudFormationStack_dataSource_basic (65.60s) --- PASS: TestAccAWSCloudFormationStack_dataSource_yaml (68.56s) --- PASS: TestAccAWSCloudFormationStack_defaultParams (65.19s) --- PASS: TestAccAWSCloudFormationStack_disappears (66.83s) --- PASS: TestAccAWSCloudFormationStack_withParams (114.62s) --- PASS: TestAccAWSCloudFormationStack_withTransform (43.79s) --- PASS: TestAccAWSCloudFormationStack_withUrl_withParams (116.98s) --- PASS: TestAccAWSCloudFormationStack_withUrl_withParams_noUpdate (71.85s) --- PASS: TestAccAWSCloudFormationStack_withUrl_withParams_withYaml (64.05s) --- PASS: TestAccAWSCloudFormationStack_yaml (64.69s) ```
- Loading branch information
Showing
2 changed files
with
83 additions
and
1 deletion.
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
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