Skip to content

Complete Example Failing in main Branch during terraform apply #276

@arya-girish-k

Description

@arya-girish-k

Affected modules

  • terraform-ibm-secrets-manager

Terraform CLI and Terraform provider versions

  • Terraform version:1.9.7
  • Provider version:1.74.0

Terraform output

│ Error: ---
│ id: terraform-c24f9c05
│ summary: |
│   CreateSecretWithContext failed: You do not have the required permissions for this operation. Contact the account owner to verify your access. [secrets-manager.13022E]
│  
│       "Result": {
│           "errors": [
│               {
│                   "code": "access_forbidden",
│                   "message": "You do not have the required permissions for this operation. Contact the account owner to verify your access. [secrets-manager.13022E]",
│                   "more_info": "https://cloud.ibm.com/apidocs/secrets-manager"
│               }
│           ],
│           "status_code": 403,
│           "trace": "c4543a45-9b55-bf64-85fb-2fdc340df5ca"
│       },
│       "RawResult": null
│   }
│ severity: error
│ resource: ibm_sm_service_credentials_secret
│ operation: create
│ component:
│   name: github.com/IBM-Cloud/terraform-provider-ibm
│   version: 1.74.0
│ ---

Debug output

Expected behavior

Terraform apply for complete example should run without any error.

Actual behavior

Terraform apply got failed with above error

Steps to reproduce (including links and screen captures)

  1. Go to example/complete
  2. Run terraform init
  3. Run terraform plan
  4. Run terraform apply

Anything else


By submitting this issue, you agree to follow our Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions