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

Please provide a Terraform example for the VPC Image to COS IAM Authorisation #206

Open
rmey opened this issue Mar 12, 2024 · 2 comments
Open
Assignees

Comments

@rmey
Copy link

rmey commented Mar 12, 2024

Only API, CLI and UI examples are shown and Terraform provider Doc does not provide enough examples for iam_authorization_policy

@rmey
Copy link
Author

rmey commented Mar 12, 2024

Here is possible solution

# IAM authorize service 2 service
resource "ibm_iam_authorization_policy" "policy" {
  source_service_name = "is"
  target_service_name = "cloud-object-storage"
  source_resource_type = "image"
  roles               = ["Reader","Writer"]
}

@gudrun-wolfgram gudrun-wolfgram self-assigned this Mar 14, 2024
@gudrun-wolfgram
Copy link
Collaborator

Referring to this topic: https://cloud.ibm.com/docs/vpc?topic=vpc-object-storage-prereq&interface=cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants