Skip to content

Commit

Permalink
MINOR: main: comment edge deployment by default (#196)
Browse files Browse the repository at this point in the history
It's been reported that some users are starting with the default main.tf
This leads to having one of their sites erroneously configured as being
an Edge deployment. This commit comments out the edge deployment, which
allows it to be referenced but prevents their site from being configured
as an Edge deployment unless they want it to.
  • Loading branch information
daniel-corbett authored Aug 2, 2023
1 parent 8b5e241 commit e4f57be
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -402,13 +402,13 @@ cX4iWLb38v7KEornZfofXEw=
PRIVATEKEY
}

resource "sigsci_edge_deployment" "edge" {
site_short_name = sigsci_site.my-site.short_name
}

resource "sigsci_edge_deployment_service" "edge" {
site_short_name = sigsci_site.my-site.short_name
fastly_sid = "[Fastly service id]"
activate_version = true
percent_enabled = 100
}
#resource "sigsci_edge_deployment" "edge" {
# site_short_name = sigsci_site.my-site.short_name
#}

#resource "sigsci_edge_deployment_service" "edge" {
# site_short_name = sigsci_site.my-site.short_name
# fastly_sid = "[Fastly service id]"
# activate_version = true
# percent_enabled = 100
#}

0 comments on commit e4f57be

Please sign in to comment.