Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 5e6fb737 authored by Nicolas's avatar Nicolas
Browse files

feat: Secure GCP SA

parent 03b3e481
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,7 @@ destroy-psc: ...@@ -205,7 +205,7 @@ destroy-psc:
EC_DNS_ZONE: $EC_DNS_ZONE EC_DNS_ZONE: $EC_DNS_ZONE
before_script: before_script:
- | - |
echo $GCP_SA > gcp-sa.json echo $GCP_SA | base64 -d > gcp-sa.json
gcloud auth activate-service-account --key-file gcp-sa.json gcloud auth activate-service-account --key-file gcp-sa.json
echo "Activate Service Account: OK" echo "Activate Service Account: OK"
gcloud config set project $GCP_PROJECT_ID gcloud config set project $GCP_PROJECT_ID
...@@ -262,7 +262,7 @@ destroy-gke: ...@@ -262,7 +262,7 @@ destroy-gke:
before_script: before_script:
- | - |
cd $TF_ROOT_GKE cd $TF_ROOT_GKE
echo $GCP_SA > gcp-sa.json echo $GCP_SA | base64 -d > gcp-sa.json
script: script:
- | - |
gitlab-terraform init gitlab-terraform init
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment