Create, deploy, and manage infrastructure using Pulumi
JavaScript 90.21%CSS 0.57%HTML 3.08%Shell 6.13%
cicd-pipeline-with-pulumi's Introduction
Launch
Clone and install
Clone git repo
RUN cd CICD-pipeline-with-pulumi
RUN npm install
Deploy infrastructure
cd inside pulumi/infrastructure folder
Create new pulumi stack pulumi stack init <stack-name>. For example: pulumi stack init dev.
Add all config variables from the pulumi.yaml to stack configuration.
RUN pulumi config set <key> <value>. For example: pulumi config set aws:region us-east-1.
RUN pulumi up command
The infrastructure should now be deployed ๐
Deploy CI/CD pipeline
cd inside pulumi/cicd-pipeline folder
Create new pulumi stack pulumi stack init <stack-name>
Add all config variables from the pulumi.yaml to stack configuration. To add secrets use pulumi config set <key> <value> --secret command.
RUN pulumi up command
The pipeline should now be deployed ๐