Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: Add a minimal example of a project with parameters #331

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

Merged
merged 4 commits into from
Feb 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
refactor: Just a simple example of a project w/ parameters
  • Loading branch information
bryphe-coder committed Feb 19, 2022
commit f01c8545d1f792f29e57e7da872a3db49b436278
7 changes: 7 additions & 0 deletions examples/project-with-parameters/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
variable "message" {
type = string
}
Comment on lines +3 to +5
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kylecarbs - is there a way to set up a variable yet such that it would need to be specified at the workspace create level, as opposed to project level?

Copy link
Member

Choose a reason for hiding this comment

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

Not yet :-( We'll have to figure out a way we wanna enable that.


output "hello_provisioner" {
value = "Hello, provisioner: ${var.message}"
}