GSA
):
pool-automation@sncloud-production.iam.gserviceaccount.com
.
cloud-manager@sncloud-production.iam.gserviceaccount.com
.
cloud-support-general@sncloud-production.iam.gserviceaccount.com
.
*.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_GCP_PROJECT_ID>
: your Google Project ID.<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.git
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.
Editor
to the GCP project is sufficient to perform these operations.
All of the methods in Authenticating to GCP are compatible with the Terraform module.
terraform apply
.
This will create a Terraform plan which shows all the resources to be created. To see an example plan, see the example plan in the GitHub readme.
terraform apply
to your CSM or support representative.