Terraform Configuration Files I created an ECR module with two files main.tf and variables.tf. The intent here is to enable image scanning and send the results to SNS only when the environment is production and sns_topic_arn exists. resource "aws_ecr_repository" "main" { name = "${var....
Terraform Preparing your Terraform environment Terraform step configuration Planning changes made by Terraform templates Applying changes from Terraform templates Terraform output variables Terraform plugin cache Java applications Java applications Deploying a sample Java application Java error messages and troublesho...
PowerShell script using Octopus Variables $environment = $OctopusParameters["Octopus.Environment.Name"] Write-Host "Environment: $environment" You can parameterize this script making it easier to test outside of Octopus: PowerShell script using parameters param ( [Parameter(Mandatory=$True)] [string...
In principle Terraform should be able to tell how many instances there are even though it doesn't yet have their ids, but currently that doesn't work due to some limitations of the interpolation language. Hopefully we can make that work better in future too, which may avoid the need for ...