Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Porter Terraform Example #450

Merged

Conversation

jeremyrickard
Copy link
Contributor

This adds an example to the examples directory that leverages the porter-azure and porter-terraform mixins to install, upgrade and uninstall some infrastructure.

Copy link
Member

@vdice vdice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Only a handful of questions and/or small nits/comments.

examples/azure-tf-example/README.md Outdated Show resolved Hide resolved
examples/azure-tf-example/README.md Show resolved Hide resolved
examples/azure-tf-example/README.md Outdated Show resolved Hide resolved
examples/azure-tf-example/README.md Outdated Show resolved Hide resolved
examples/azure-tf-example/README.md Outdated Show resolved Hide resolved
parameters:
location: "{{ bundle.parameters.location }}"
storageAccountName: "{{ bundle.parameters.storage_account_name }}"
storageContainerName: "{{ bundle.parameters.storage_container_name }}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add a bundle outputs section here:

outputs:
- name: cosmos-db-uri
  type: string
- name: eventhubs_connection_string
  type: string

If this is done, we could update docs at some point to inform the reader that they can grab a specific output via porter bundle output show cosmos-db-uri, etc. (Depends on #451)

examples/azure-tf-example/README.md Show resolved Hide resolved
@jeremyrickard jeremyrickard force-pushed the good-terraform-example branch from 700f3e6 to b125895 Compare July 22, 2019 19:07
@jeremyrickard
Copy link
Contributor Author

@vdice i updated this, take a look.

@jeremyrickard jeremyrickard merged commit bb045e6 into getporter:master Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants