diff --git a/.github/workflows/main-crossplane-v2.yaml b/.github/workflows/main-crossplane-v2.yaml index df377170..87ec703c 100644 --- a/.github/workflows/main-crossplane-v2.yaml +++ b/.github/workflows/main-crossplane-v2.yaml @@ -51,7 +51,7 @@ jobs: with: role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ inputs.role_name }} role-session-name: ${{ inputs.role_session_name }} - aws-region: ${{ inputs.aws_region }} + aws-region: image_tag - uses: hashicorp/setup-terraform@v1 with: @@ -70,5 +70,5 @@ jobs: cd ${{ github.workspace }}/configs/crossplane && terraform init && terraform -chdir=${{ github.workspace }}/configs/crossplane apply -auto-approve env: TF_WORKSPACE: ${{ inputs.env }} - TF_VAR_config_path: ${{ secrets.STAGING_GRAFANA_CLOUD_API_KEY }} + TF_VAR_image_tag: ${{ inputs.image_tag: }}