Dataset Iam Policy
Import
IAM member imports use space-delimited identifiers; the resource in question, the role, and the account. This member resource can be imported using the dataset_id
, role, and account e.g.
$ pulumi import gcp:healthcare/datasetIamPolicy:DatasetIamPolicy dataset_iam "your-project-id/location-name/dataset-name roles/viewer user:foo@example.com"
Content copied to clipboard
IAM binding imports use space-delimited identifiers; the resource in question and the role. This binding resource can be imported using the dataset_id
and role, e.g.
$ pulumi import gcp:healthcare/datasetIamPolicy:DatasetIamPolicy dataset_iam "your-project-id/location-name/dataset-name roles/viewer"
Content copied to clipboard
IAM policy imports use the identifier of the resource in question. This policy resource can be imported using the dataset_id
, role, and account e.g.
$ pulumi import gcp:healthcare/datasetIamPolicy:DatasetIamPolicy dataset_iam your-project-id/location-name/dataset-name
Content copied to clipboard
->Custom RolesIf you're importing a IAM resource with a custom role, make sure to use the full name of the custom role, e.g. [projects/my-project|organizations/my-org]/roles/my-custom-role
.