Skip to content
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}"
}