-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add custom flattens for passwords (#2376)
Merged PR #2376.
- Loading branch information
1 parent
afb887f
commit 13ea31a
Showing
4 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
Submodule terraform-beta
updated
from 88fec3 to 9829ee
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
3 changes: 3 additions & 0 deletions
3
templates/terraform/custom_flatten/scan_config_auth_custom_password.go.erb
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,3 @@ | ||
func flatten<%= prefix -%><%= titlelize_property(property) -%>(v interface{}, d *schema.ResourceData) interface{} { | ||
return d.Get("authentication.0.custom_account.0.password") | ||
} |
3 changes: 3 additions & 0 deletions
3
templates/terraform/custom_flatten/scan_config_auth_google_password.go.erb
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,3 @@ | ||
func flatten<%= prefix -%><%= titlelize_property(property) -%>(v interface{}, d *schema.ResourceData) interface{} { | ||
return d.Get("authentication.0.google_account.0.password") | ||
} |