mirror of
https://github.com/ghndrx/tf-variable-demo.git
synced 2026-02-10 06:54:57 +00:00
add firewall rules and add tags to template
This commit is contained in:
@@ -16,7 +16,7 @@ resource "google_compute_instance_template" "template" {
|
||||
// Ephemeral public IP address
|
||||
}
|
||||
}
|
||||
|
||||
tags = ["http-server"]
|
||||
metadata_startup_script = var.startup_script
|
||||
|
||||
lifecycle {
|
||||
|
||||
0
modules/firewall_rules/main.tf
Normal file
0
modules/firewall_rules/main.tf
Normal file
1
modules/firewall_rules/variables.tf
Normal file
1
modules/firewall_rules/variables.tf
Normal file
@@ -0,0 +1 @@
|
||||
variable "project_id" {}
|
||||
Reference in New Issue
Block a user