This demo provides the essentials needed to create your first dashboard via Terraform. If you're eager to connect and explore on your own, this quick demo involves just three steps to get you started.
- Install Terraform - Follow this guide to install Terraform on your machine.
- Populate the placeholders with values from your environment:
- API key and Region in the Provider Settings: Refer to SquaredUp Documentation to obtain your API key.
workspace_id
in thesquaredup_dashboard
resource: Find your workspace ID using the guide Getting Your Workspace ID.
- Initialize and apply Terraform:
- Run
terraform init
to initialize the setup. This command prepares your directory for Terraform operations. - Execute
terraform apply
to apply the configurations. Confirm the actions Terraform proposes before it makes changes to your infrastructure.
- Run
Once completed, you will have a simple, yet fully Terraform-created dashboard:
To locate your workspace ID, navigate to your desired workspace and extract the ID from the URL, as highlighted in the screenshot below. The ID starts with space-
.
Remember to keep your API key secure. Avoid publishing it in public repositories or sharing it in insecure environments.
If you encounter issues during installation or application of Terraform, verify your API key and workspace ID, check for typos, and ensure your internet connection is stable.