Untitled
unknown
plain_text
5 months ago
5.7 kB
5
Indexable
# ************************************IMPORTANT NOTE************************************ # 1. If you've deployed a composition and decide to change/rename any part of the directory path, # you MUST destroy the deployed resources using 'tfAction: destroy' BEFORE changing the directory path. # Fail to do so will result in getting 'resources already exist error' when deploy using the new path. # 2. Terraform destroy (tfAction: destroy) will only be processed if there's a successful Terraform apply for the composition. # ************************************************************************************** # infrastructure content: # - the structure must conform to the folder structure # - all active (not commented out) compositions will be running in parallel. # - below contains 2 active compositions: asp_lin_plan_1 and asp_win_plan_2 in centralus. # - each composition will have its own Terraform workspace and all resources in each workspace share the SAME lifecycle. # - ** below compositions are to create ASP Plans - Plans MUST BE CREATED FIRST BEFORE creating ASP Apps in the Plans. infrastructure: # dev: # d4002: # eastus2: # asp_lin_plan_1: # Terminal folder that contains terraform code to create Linux ASP Apps in Plan with index 1 in centralus # cloudVenue: azure # Required - The Cloud Venue to deploy to. # cloudVenueEnv: dev # Required - The Cloud Environment to deploy to. # subscription: d4002 # Required - The Azure Subscription to deploy to. # tfAction: apply # Optional - Terraform Action. Possible Values: [plan, apply, destroy]. (Default: apply) # asp_lin_plan_1_apps: # cloudVenue: azure # Required - The Cloud Venue to deploy to. Possible Values: [azure] # cloudVenueEnv: dev # Required - The Cloud Environment to deploy to. Possible Values: [dev, pat, prod] # subscription: d4002 # Required - The Azure Subscription to deploy to. # tfAction: apply # Optional - Terraform Action. Possible Values: [apply, destroy]. (Default: apply) # asp_lin_plan_1_apps_sit: # cloudVenue: azure # Required - The Cloud Venue to deploy to. Possible Values: [azure] # cloudVenueEnv: dev # Required - The Cloud Environment to deploy to. Possible Values: [dev, pat, prod] # subscription: d4002 # Required - The Azure Subscription to deploy to. # tfAction: apply ########################## ### PAT PAT PAT ### ########################## # pat: # n4001: # eastus2: # asp_lin_plan_1: # cloudVenue: azure # Required - The Cloud Venue to deploy to. Possible Values: [azure] # cloudVenueEnv: pat # Required - The Cloud Environment to deploy to. Possible Values: [dev, pat, prod] # subscription: n4001 # Required - The Azure Subscription to deploy to. # tfAction: apply # Optional - Terraform Action. Possible Values: [apply, destroy]. (Default: apply) # asp_lin_plan_1_apps_blue: # cloudVenue: azure # cloudVenueEnv: pat # subscription: n4001 # tfAction: apply # asp_lin_plan_1_apps_green: # cloudVenue: azure # cloudVenueEnv: pat # subscription: n4001 # tfAction: apply ########################## ### PROD ### ########################## prod: p4001: # centralus: # asp_lin_plan_1: # cloudVenue: azure # Required - The Cloud Venue to deploy to. Possible Values: [azure] # cloudVenueEnv: prod # Required - The Cloud Environment to deploy to. Possible Values: [dev, pat, prod] # subscription: p4001 # Required - The Azure Subscription to deploy to. # tfAction: apply # Optional - Terraform Action. Possible Values: [apply, destroy]. (Default: apply) # asp_lin_plan_1_apps_dr: # cloudVenue: azure # Required - The Cloud Venue to deploy to. Possible Values: [azure] # cloudVenueEnv: prod # Required - The Cloud Environment to deploy to. Possible Values: [dev, pat, prod] # subscription: p4001 # Required - The Azure Subscription to deploy to. # tfAction: apply # Optional - Terraform Action. Possible Values: [apply, destroy]. (Default: apply) eastus2: asp_lin_plan_1: cloudVenue: azure # Required - The Cloud Venue to deploy to. Possible Values: [azure] cloudVenueEnv: prod # Required - The Cloud Environment to deploy to. Possible Values: [dev, pat, prod] subscription: p4001 # Required - The Azure Subscription to deploy to. tfAction: apply # Optional - Terraform Action. Possible Values: [apply, destroy]. (Default: apply) # asp_lin_plan_1_apps_blue: # cloudVenue: azure # Required - The Cloud Venue to deploy to. Possible Values: [azure] # cloudVenueEnv: prod # Required - The Cloud Environment to deploy to. Possible Values: [dev, pat, prod] # subscription: p4001 # Required - The Azure Subscription to deploy to. # tfAction: apply # Optional - Terraform Action. Possible Values: [apply, destroy]. (Default: apply) # asp_lin_plan_1_apps_green: # cloudVenue: azure # Required - The Cloud Venue to deploy to. Possible Values: [azure] # cloudVenueEnv: prod # Required - The Cloud Environment to deploy to. Possible Values: [dev, pat, prod] # subscription: p4001 # Required - The Azure Subscription to deploy to. # tfAction: apply
Editor is loading...
Leave a Comment