Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stage('Run terraform') {
- steps {
- dir('Terraform') {
- git branch: 'main', url: 'https://github.com/Panda-Academy-Core-2-0/Terraform'
- withAWS(credentials:'AWS', region: 'us-east-1') {
- sh 'terraform init -backend-config=bucket=panda-academy-panda-devops-core-n'
- sh 'terraform apply -auto-approve -var bucket_name=panda-academy-panda-devops-core-n'
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement