File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ cat > firewall.tf <<EOF_END
2828resource "google_compute_firewall" "allow_ssh" {
2929 name = "allow-ssh-from-anywhere"
3030 network = "default"
31- project = "qwiklabs-gcp-00-5e2401d27ba2 "
31+ project = "$PROJECT_ID "
3232
3333 allow {
3434 protocol = "tcp"
Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ gcloud services enable cloudresourcemanager.googleapis.com --project=$PROJECT_ID
2222
2323gcloud storage buckets create gs://$PROJECT_ID -tf-state --project=$PROJECT_ID --location=$REGION --uniform-bucket-level-access
2424
25-
26- terraform init
27-
2825cat > firewall.tf << EOF_END
2926terraform {
3027 required_providers {
@@ -105,9 +102,10 @@ output "subnet_name" {
105102}
106103EOF_END
107104
105+ terraform init
108106terraform plan
109-
110107terraform apply --auto-approve
108+
111109pattern=(
112110" **********************************************************"
113111" ** S U B S C R I B E TO **"
You can’t perform that action at this time.
0 commit comments