Terraform Drift for AWS CodeBuild

Cerrado Publicado hace 3 años Pagado a la entrega
Cerrado Pagado a la entrega

I have n AWS codebuild project that deploys Terraform modules into the AWS account. I want to implement terraform drift to run on schedule and let the user know if something has changed outside the pipeline. Here is the [login to view URL]

```

version: 0.2

environment_variables:

plaintext:

TF_MODULE: aws-terraform/my_account_deployment

phases:

build:

commands:

- pwd

- terraform --version

- |-

if [ "$(git rev-parse --abbrev-ref HEAD)" != "master" ]; then

echo "Non-master branch, Terraform will only execute plan"

cd $TF_MODULE

terraform init -no-color

terraform plan -no-color

echo "Plan complete"

fi

- |-

if [ "$(git rev-parse --abbrev-ref HEAD)" = "master" ]; then

echo "Master branch, terraform will APPLY changes"

cd $TF_MODULE

terraform init -no-color

terraform apply -no-color -auto-approve

echo "Apply complete"

fi

post_build:

commands:

- echo " it is done"

````

Amazon Web Services DevOps

Nº del proyecto: #25829771

Sobre el proyecto

4 propuestas Proyecto remoto Activo hace 3 años

4 freelancers están ofertando un promedio de $65 por este trabajo

ranumehta2017

***AWS EXPERT*** Más

$50 USD en 1 día
(33 comentarios)
5.2
KarupP

Hi, I have 7+ years of working experience in AWS and having strong experience in infrastructure automation and helping customers to move their workload into the AWS through automation. I can help to configure a drift. Más

$50 USD en 3 días
(15 comentarios)
4.2
abalur

i have total 8 years of experience. worked on devops technologies like AWS, AZURE, ORACLE-CLOUD, chef, Ansible, terraform, Git and Rundeck. worked on infra automation using terraform, ruby sdk, python sdks of aws and a Más

$60 USD en 7 días
(0 comentarios)
0.0