From 5d057ef80f091fec37b6a93a26c51443ab0238ec Mon Sep 17 00:00:00 2001 From: Christian Carlsson Date: Wed, 13 Nov 2024 09:44:10 +0000 Subject: [PATCH] no import --- .github/actions/apply/terraform/action.yml | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/actions/apply/terraform/action.yml b/.github/actions/apply/terraform/action.yml index 91573a77..c4400d51 100644 --- a/.github/actions/apply/terraform/action.yml +++ b/.github/actions/apply/terraform/action.yml @@ -25,23 +25,23 @@ runs: working-directory: ./infra shell: bash - - name: Terraform Import - run: | - terraform import aws_db_subnet_group.default db-subnet-group-4 - terraform import aws_security_group.default sg-0517ff4946c44591d - terraform import aws_s3_bucket.vue_js_bucket vue-js-app -# terraform import aws_db_instance.db -# terraform import aws_s3_bucket_policy.public_access -# terraform import aws_s3_bucket_public_access_block.public_access_block -# terraform import aws_s3_bucket_website_configuration.vue_js_bucket - working-directory: ./infra - shell: bash - env: -# TF_LOG: DEBUG - AWS_ACCESS_KEY_ID: ${{ inputs.aws_access_key_id }} - AWS_SECRET_ACCESS_KEY: ${{ inputs.aws_secret_access_key }} - TF_VAR_db_username: ${{ inputs.db_username }} - TF_VAR_db_password: ${{ inputs.db_password }} +# - name: Terraform Import +# run: | +# terraform import aws_db_subnet_group.default db-subnet-group-4 +# terraform import aws_security_group.default sg-0517ff4946c44591d +# terraform import aws_s3_bucket.vue_js_bucket vue-js-app +## terraform import aws_db_instance.db +## terraform import aws_s3_bucket_policy.public_access +## terraform import aws_s3_bucket_public_access_block.public_access_block +## terraform import aws_s3_bucket_website_configuration.vue_js_bucket +# working-directory: ./infra +# shell: bash +# env: +## TF_LOG: DEBUG +# AWS_ACCESS_KEY_ID: ${{ inputs.aws_access_key_id }} +# AWS_SECRET_ACCESS_KEY: ${{ inputs.aws_secret_access_key }} +# TF_VAR_db_username: ${{ inputs.db_username }} +# TF_VAR_db_password: ${{ inputs.db_password }} - name: Terraform Apply run: terraform apply -auto-approve