wip - jenkins
parent
8525170d76
commit
f2516ed6e0
|
|
@ -37,6 +37,20 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
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
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue