Skip to content

Commit

Permalink
reconstruct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
novandrautomo17 committed Apr 21, 2024
1 parent 20a4b42 commit 558221b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: development
name: production
url: ${{ steps.deploy-url.outputs.deployment-url }}

steps:
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Select Stack
run: |
pulumi stack select myProject/dev --create
pulumi stack select dev --create
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}

Expand All @@ -61,7 +61,7 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Deploy to Dev Environment
- name: Deploy to Dev
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: pulumi/actions@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions Pulumi.dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
config:
aws:skipCredentialsValidation: "true"
aws:skipMetadataApiCheck: "false"
10 changes: 10 additions & 0 deletions Pulumi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: iaac-project
runtime:
name: python
options:
virtualenv: venv
description: this is a project for create environment on aws like VPC, bastion host, and an EKS cluster
config:
pulumi:tags:
value:
pulumi:template: python

0 comments on commit 558221b

Please sign in to comment.