Skip to content

Commit

Permalink
add extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
Brad Wadsworth committed Dec 28, 2022
1 parent be17ce2 commit ef7f579
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions apis/cloudplatform/v1beta1/zz_folderiammember_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apis/cloudplatform/v1beta1/zz_generated.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion config/cloudplatform/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import (
func Configure(p *config.Provider) {
p.AddResourceConfigurator("google_folder_iam_member", func(r *config.Resource) {
r.References["folder"] = config.Reference{
Type: "Folder",
Type: "Folder",
Extractor: common.ExtractResourceIDFuncPath,
}
})
p.AddResourceConfigurator("google_project", func(r *config.Resource) {
Expand Down

0 comments on commit ef7f579

Please sign in to comment.