소스 검색

Bash script to create property via TF

main
Andrés Meseguer 1 년 전
부모
커밋
c146e675e4
3개의 변경된 파일10개의 추가작업 그리고 3개의 파일을 삭제
  1. 8
    0
      scripts/create_property.sh
  2. 0
    1
      terraform/vars.tf
  3. 2
    2
      terraform/vars.tfvars.dst

+ 8
- 0
scripts/create_property.sh 파일 보기

@@ -0,0 +1,8 @@
#!/bin/bash

echo $PWD &&
cd terraform &&
terraform init &&
terraform plan -out=.plan &&
terraform apply .plan &&
cd $OLDPWD

+ 0
- 1
terraform/vars.tf 파일 보기

@@ -37,5 +37,4 @@ variable "edge_hostname" {
}
variable "program" {
type = string
default = "terraform"
}

terraform/vars.auto.tfvars → terraform/vars.tfvars.dst 파일 보기

@@ -3,10 +3,10 @@ section = ""
contract_id = ""
group_id = ""
origin = ""
cpcode =0000
cpcode =00000
secure = true
network= "STAGING"
hostname= ""
edge_hostname = ""
program=""
program="devops"
prefix=""

Loading…
취소
저장