Update to use secrets from drone

This commit is contained in:
2022-03-17 13:23:01 +13:00
parent dbf1435fd4
commit ed55c22228

View File

@@ -75,7 +75,12 @@ local gen_pipeline(distro) =
'terraform init',
'terraform plan',
'terraform apply -auto-approve',
]},]
],
environment: {
TF_VAR_root_pass: {from_secret: 'root_pass'},
TF_VAR_linode_api_token: {from_secret: 'linode_api_token'},
TF_VAR_ssh_pubkey: {from_secret: 'TF_VAR_ssh_pubkey'},
}},]
},
gen_pipeline('centos7'),
gen_pipeline('centos8'),