Skip to content

Commit

Permalink
Merge pull request #355 from chianw/patch-2
Browse files Browse the repository at this point in the history
Update trigger_run_init.sh to include in variables from caf_solution/…
  • Loading branch information
arnaudlh authored Nov 6, 2023
2 parents 8603743 + eb5e592 commit 1ab78b3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/tfcloud/trigger_run_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ tfcloud_trigger_run_init(){
"TF_VAR_tfstate_hostname,TF_VAR_tfstate_hostname,URL of the endpoint,false,false,env",
"TF_VAR_environment,TF_VAR_environment,CAF environment,false,false,env",
"TF_VAR_tenant_id,ARM_TENANT_ID,Tenant ID,false,false,env",
"lower_storage_account_name,lower_storage_account_name,AzureRM lower storage account name,false,false,terraform",
"lower_container_name,lower_container_name,AzureRM lower storage account container name,false,false,terraform",
"lower_resource_group_name,lower_resource_group_name,AzureRM lower resource group name,false,false,terraform",
"tfstate_storage_account_name,tfstate_storage_account_name,AzureRM current storage account name,false,false,terraform",
"tfstate_container_name,tfstate_container_name,AzureRM current storage container name,false,false,terraform",
"tfstate_resource_group_name,tfstate_resource_group_name,AzureRM current resource group name,false,false,terraform",
"ARM_SUBSCRIPTION_ID,ARM_SUBSCRIPTION_ID,Target subscription id to deploy the resources,false,false,env",
"ARM_CLIENT_SECRET,ARM_CLIENT_SECRET,Client secret of the service principal.,true,false,env")

Expand Down Expand Up @@ -170,4 +176,4 @@ tfcloud_trigger_run_init(){
echo ""
echo "Number of Sentinel policy sets: " $sentinel_policy_set_count
run_id="null"
}
}

0 comments on commit 1ab78b3

Please sign in to comment.