Skip to content

Commit

Permalink
remove exported vars
Browse files Browse the repository at this point in the history
  • Loading branch information
brokedba authored Sep 14, 2023
1 parent f8586b5 commit fc6214b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion oci_devops/build_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
exportedVariables:
- OBJECT_BUCKET_NAMESPACE_NAME
- OBJECT_BUCKET_NAME
- TF_VAR_ssh_public_key
# - TF_VAR_ssh_public_key
- TF_VAR_compartment_ocid
- TF_VAR_region

Expand Down
3 changes: 2 additions & 1 deletion oci_devops/deploy_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
# these are local variables to the build config
variables:
vaultVariables:
# SSH_PUB_KEY: ${ssh_key_sec}
SSH_PUB_KEY: ${ssh_key_sec}
# TF_VAR_compartment_ocid: ${compartment_ocid_sec}

exportedVariables:
Expand All @@ -31,6 +31,7 @@ steps:
command: |
echo " check the execution plan"
cd /tmp/terraform_build
export TF_VAR_ssh_public_key=${SSH_PUB_KEY}
echo "ssh public key => ${TF_VAR_ssh_public_key} "
terraform validate
rm -f instance.tfplan
Expand Down

0 comments on commit fc6214b

Please sign in to comment.