mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-31 11:17:25 -06:00
b40b7ce01a
This fixes a bug where Terraform would error with the following: ``` Error loading config: Error reading /Users/rhenrichs/work/example/.#example.tf: open /Users/rhenrichs/work/example/.#example.tf: no such file or directory ``` The solution implemented here ignores the common emacs and vim temporary file formats. Note: the potential danger with merging this is that Terraform could quickly have requests to ignore other file formats.
18 lines
285 B
HCL
18 lines
285 B
HCL
variable "foo" {
|
|
default = "bar"
|
|
description = "bar"
|
|
}
|
|
|
|
provider "aws" {
|
|
access_key = "foo"
|
|
secret_key = "bar"
|
|
}
|
|
|
|
resource "aws_instance" "db" {
|
|
security_groups = "${aws_security_group.firewall.*.id}"
|
|
}
|
|
|
|
output "web_ip" {
|
|
value = "${aws_instance.web.private_ip}"
|
|
}
|