Skip to content

Commit

Permalink
Upgraded module to support Terraform 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tmknom committed May 1, 2020
1 parent 8566a96 commit bb66bed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "null_resource" "foo" {
triggers = {
example = "${var.example}"
example = var.example
}
}
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
output "null_resource_id" {
value = "${null_resource.foo.id}"
value = null_resource.foo.id
description = "An arbitrary value that changes each time the resource is replaced."
}

output "example_value" {
value = "${var.example}"
value = var.example
description = "Example variable."
}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variable "example" {
default = "default value"
type = "string"
type = string
description = "Example variable."
}
3 changes: 3 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
terraform {
required_version = ">= 0.12"
}

0 comments on commit bb66bed

Please sign in to comment.