Skip to content

Commit

Permalink
add IAM conditions support to the remaining IAP resources (#2846)
Browse files Browse the repository at this point in the history
Merged PR #2846.
  • Loading branch information
danawillow authored and modular-magician committed Dec 17, 2019
1 parent 008247d commit 301df69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
4 changes: 4 additions & 0 deletions products/iap/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
fetch_iam_policy_verb: :POST
allowed_iam_role: 'roles/iap.httpsResourceAccessor'
parent_resource_attribute: 'project'
iam_conditions_request_type: :REQUEST_BODY
examples:
- !ruby/object:Provider::Terraform::Examples
name: "iap_project"
Expand All @@ -38,6 +39,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
parent_resource_attribute: 'project'
fetch_iam_policy_verb: :POST
allowed_iam_role: 'roles/iap.httpsResourceAccessor'
iam_conditions_request_type: :REQUEST_BODY
id_format: "projects/{{project}}/iap_web/compute"
import_format: ["projects/{{project}}/iap_web/compute"]
examples:
Expand All @@ -57,6 +59,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
allowed_iam_role: 'roles/iap.httpsResourceAccessor'
test_project_name: "tf-test"
custom_diff_suppress: 'templates/terraform/iam/iap_web_appengine_diff_suppress.go.erb'
iam_conditions_request_type: :REQUEST_BODY
id_format: "projects/{{project}}/iap_web/appengine-{{appId}}"
import_format: ["projects/{{project}}/iap_web/appengine-{{appId}}"]
examples:
Expand Down Expand Up @@ -96,6 +99,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
allowed_iam_role: 'roles/iap.httpsResourceAccessor'
test_project_name: "tf-test"
example_config_body: 'templates/terraform/iam/example_config_body/app_engine_service.tf.erb'
iam_conditions_request_type: :REQUEST_BODY
id_format: 'projects/{{project}}/iap_web/appengine-{{appId}}/services/{{service}}'
import_format: ['projects/{{project}}/iap_web/appengine-{{appId}}/services/{{service}}', '{{service}}']
examples:
Expand Down

0 comments on commit 301df69

Please sign in to comment.