Skip to content

Commit

Permalink
Adding IAM support in Terraform for Dataform Repository resource (#9457)
Browse files Browse the repository at this point in the history
* Adding IAM support in Terraform for Dataform Repository resource

* Adding primary_resource_name property to Example

* Adding min-version: beta to IAM policy of repository resource

* Update import id used in acceptance tests

---------

Co-authored-by: Sarah French <[email protected]>
  • Loading branch information
maverickjoy and SarahFrench authored Nov 15, 2023
1 parent 604e76d commit d7adf2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mmv1/products/dataform/Repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,18 @@ references: !ruby/object:Api::Resource::ReferenceLinks
'Official Documentation': 'https://cloud.google.com/dataform/docs/'
api: 'https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories'
id_format: projects/{{project}}/locations/{{region}}/repositories/{{name}}
iam_policy: !ruby/object:Api::Resource::IamPolicy
method_name_separator: ':'
parent_resource_attribute: 'repository'
min_version: beta
import_format:
['projects/{{project}}/locations/{{region}}/repositories/{{name}}']
examples:
- !ruby/object:Provider::Terraform::Examples
name: 'dataform_repository'
primary_resource_id: dataform_respository
primary_resource_name:
'fmt.Sprintf("tf_test_dataform_repository%s", context["random_suffix"])'
min_version: beta
vars:
git_repository_name: 'my/repository'
Expand Down

0 comments on commit d7adf2e

Please sign in to comment.