wip - jenkins
parent
8525170d76
commit
f2516ed6e0
|
|
@ -37,7 +37,21 @@ pipeline {
|
|||
|
||||
stages {
|
||||
|
||||
|
||||
stage("terraform init") {
|
||||
steps {
|
||||
sshagent(credentials: ['sofa-user-automation']) {
|
||||
container('terraform') {
|
||||
sh """
|
||||
set -e
|
||||
cd environments/${CLOUD_PROVIDER}/${AWS_REGION}/${STAGE}
|
||||
terraform init
|
||||
terraform fmt
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
post {
|
||||
|
|
|
|||
Loading…
Reference in New Issue