File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 - name : Creating .env from aws parameter store
6060 uses : almerindo/action-env-from-aws-ssm@next
6161 with :
62- output : ./environments/.env
62+ output : ./environments/.env.yaml
6363 ssm-path : ' /${{ inputs.WF_ENV_TYPE }}/${{ inputs.WF_SERVICE_NAME }}'
64- format : yaml
64+ format : configmap
6565 env :
6666 AWS_ACCESS_KEY_ID : ${{ secrets.WF_AWS_ACCESS_KEY_ID }}
6767 AWS_SECRET_ACCESS_KEY : ${{ secrets.WF_AWS_SECRET_ACCESS_KEY }}
7070 - name : Testing the YAML
7171 run : |
7272 echo "Showing the yaml"
73- cat ./environments/.env
74-
75- echo 'apiVersion: v1
76- kind: ConfigMap
77- metadata:
78- name: ${KUBE_NAME}
79- namespace: ${KUBE_NAME}-env-cm
80- data:' > myyaml
81- cat ./environments/.env >> myyaml
82-
83- echo "RESULTADO FINAL"
84- cat myyaml
73+ cat ./environments/.env.yaml
8574
8675 - name : Login to Amazon ECR
8776 id : login-ecr
You can’t perform that action at this time.
0 commit comments