You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/provisioner/powershell/test-fixtures/powershell-inline-provision...

10 lines
455 B

{
"type": "powershell",
"environment_vars": "PackerRunUUID={{build `PackerRunUUID`}},ID={{build `ID`}},TEST_ENV_VAR=TestValue",
"inline": [
"Write-Host \"$env:ID for provisioner.$env:PackerRunUUID build_name: $env:packer_build_name, test_env_var: $env:test_env_var\"",
"setx BUILD_AMI_VERSION \"1.0.0\"",
"setx BUILD_AMI_NAME custom_ami_name",
"setx BUILD_AMI_DESCRIPTION \"This is a custom AMI created for testing purposes\""
]
}