Skip to content
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
10 changes: 10 additions & 0 deletions modules/alicloud/vendor-access/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ After [authenticating to your AliCloud international account](https://registry.t
2. Run `terraform plan`
3. Run `terraform apply`

## Execute following commands to import existing roles and policies if you lost the tfstate
```bash
terraform import module.vendor_access.alicloud_ram_policy.cloud_manager_access streamnative-bootstrap
terraform import module.vendor_access.alicloud_ram_policy.support_access streamnative-support
terraform import module.vendor_access.alicloud_ram_role.cloud_manager_role streamnative-bootstrap
terraform import module.vendor_access.alicloud_ram_role.support_role streamnative-support
terraform import module.vendor_access.alicloud_ram_role_policy_attachment.cloud_manager_access role:streamnative-bootstrap:Custom:streamnative-bootstrap
terraform import module.vendor_access.alicloud_ram_role_policy_attachment.support_access role:streamnative-support:Custom:streamnative-support
Comment on lines +34 to +40

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the same mechanism to import existing resources for AWS and GCP?

```

# Terraform Docs

## Requirements
Expand Down
Loading