-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix unmarshal for terraform plan
replace_paths
Migrate #1511 Fixes #1512 Note: These Terraform tests need a proper migration of their test as described in #1787 Signed-off-by: Dominik Richter <[email protected]>
- Loading branch information
Showing
3 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
providers/terraform/provider/testdata/tfplan-replace-paths/tfplan.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"format_version": "1.5", | ||
"terraform_version": "1.5.0", | ||
"resource_changes": [ | ||
{ | ||
"address": "", | ||
"module_address": "", | ||
"mode": "managed", | ||
"type": "google_service_account_iam_member", | ||
"name": "cloud_deploy_service_account", | ||
"provider_name": "registry.terraform.io/hashicorp/google", | ||
"change": { | ||
"actions": ["delete", "create"], | ||
"before": { | ||
"condition": [], | ||
"etag": "BwYCXPmcVSE=", | ||
"id": "", | ||
"member": "", | ||
"role": "", | ||
"service_account_id": "" | ||
}, | ||
"after": { | ||
"condition": [], | ||
"member": "", | ||
"role": "", | ||
"service_account_id": "" | ||
}, | ||
"after_unknown": { "condition": [], "etag": true, "id": true }, | ||
"before_sensitive": { "condition": [] }, | ||
"after_sensitive": { "condition": [] }, | ||
"replace_paths": [["member"]] | ||
}, | ||
"action_reason": "replace_because_cannot_update" | ||
} | ||
] | ||
} |
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