Vendor: StreamNative
tag, is used where applicable to enforce resources that are created with these tags and access is limited to only resources with the tag (See Use tags to control access to resources).*.tf
files) and state files that represent the current resources. If you are using Terraform locally, without a remote state store, these files should be checked into source control for future updates. Create a new folder and add a file called main.tf
with the following content, replacing the referenced variables.
<YOUR_SNCLOUD_ORG_ID>
: your StreamNative Cloud organization ID. This is typically an ID like o-xxxxx
. This can be found in your organization list or the top header of the application. If you have multiple organizations, you can put multiple organization id in this listgit
as source control, you need to use the git init
command to initialize this folder as a git project.
terraform init
.
This will download the module and required dependencies.
AliyunRAMFullAccess
are sufficient to perform these operations.
All of the Terraform Alibaba Cloud credentials mechanisms are compatible with the Terraform module.
If you are new to Terraform and Alibaba Cloud, the following steps will provide credentials in your shell:
ALIBABA_CLOUD_ACCESS_KEY_ID
, ALIBABA_CLOUD_ACCESS_KEY_SECRET
, and ALIBABA_CLOUD_REGION
environment variables from the generated credentials.terraform apply
.
This will create a Terraform plan which shows all the resources to be created.