AWS Resources (in Go)
A Pulumi program that demonstrates creating various AWS resources in Golang
Deploying the App
To deploy your infrastructure, follow the below steps.
After cloning this repo, from this working directory, run these commands:
Next, create a new Pulumi stack, which is an isolated deployment target for this example:
$ pulumi stack init
Set the required configuration variables for this program:
$ pulumi config set aws:region us-west-2
pulumi upto preview and deploy changes:
$ pulumi up Previewing update (dev): ... Updating (dev): ... Resources: + 28 created Duration: 44s
pulumi destroyto tear down all resources.
To delete the stack itself, run
pulumi stack rm. Note that this command deletes all deployment history from the Pulumi Console.