Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IAM resources for Cloud Deploy Custom Target Type #10051

Merged
merged 3 commits into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions mmv1/products/clouddeploy/CustomTargetType.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,28 @@ import_format:
[
'projects/{{project}}/locations/{{location}}/customTargetTypes/{{name}}'
]
iam_policy: !ruby/object:Api::Resource::IamPolicy
parent_resource_attribute: 'name'
method_name_separator: ':'
base_url: 'projects/{{project}}/locations/{{location}}/customTargetTypes/{{name}}'
import_format: ['projects/{{project}}/locations/{{location}}/customTargetTypes/{{name}}', '{{name}}']
examples:
- !ruby/object:Provider::Terraform::Examples
name: "clouddeploy_custom_target_type_basic"
primary_resource_id: "custom-target-type"
primary_resource_name: 'fmt.Sprintf("tf-test-my-custom-target-type%s", context["random_suffix"])'
vars:
custom_target_type_name: "my-custom-target-type"
- !ruby/object:Provider::Terraform::Examples
name: "clouddeploy_custom_target_type_git_skaffold_modules"
primary_resource_id: "custom-target-type"
primary_resource_name: 'fmt.Sprintf("tf-test-my-custom-target-type%s", context["random_suffix"])'
vars:
custom_target_type_name: "my-custom-target-type"
- !ruby/object:Provider::Terraform::Examples
name: "clouddeploy_custom_target_type_gcs_skaffold_modules"
primary_resource_id: "custom-target-type"
primary_resource_name: 'fmt.Sprintf("tf-test-my-custom-target-type%s", context["random_suffix"])'
vars:
custom_target_type_name: "my-custom-target-type"
parameters:
Expand Down
Loading