generated and is shown below. Resource actions are indicated with the following symbols: ~ update in-place Terraform will perform the following actions: ~ fastly_service_v1.someservice gcslogging.1121940307.bucket_name: "<bukcetname>" => "" gcslogging.1121940307.email: "<api-name>[email protected]" => "" SNIP gcslogging.4265669124.bucket_name: "" => "<bukcetname>" gcslogging.4265669124.email: "" => "<api-name>[email protected]" SNIP Plan: 0 to add, 1 to change, 0 to destroy.
Cloud Storage secret_key - (Required) The secret key associated with the target gcs bucket on your account. You may optionally provide this secret via an environment variable, FASTLY_GCS_SECRET_KEY. A typical format for the key is PEM format, containing actual newline characters where required. BigQuery secret_key - (Optional) The secret key associated with the sservice account that has write access to your BigQuery table. If not provided, this will be pulled from the FASTLY_BQ_SECRET_KEY environment variable. Typical format for this is a private key in a string with newlines.
$ #!/bin/sh -eo pipefail export FASTLY_GCS_SECRET_KEY=$(echo -e $FASTLY_GCS_SECRET_KEY) terraform plan | ./tfnotify plan Refreshing Terraform state in-memory prior to plan... The refreshed state will be used to calculate this plan, but will not be persisted to local or remote state storage. SNIP No changes. Infrastructure is up-to-date. SNIP plan 差分でなくなりました ドキュメントはよく読みましょう
TLS and enabling HSTS をそのまま使うと、http で も STS ヘッダーを返してしまう • これはRFC違反のようにも取れる • Snippet でリダイレクト設定とHSTS設定を書いてみた 22 An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.
header" type = "deliver" priority = 100 content = <<EOS if (req.http.Fastly-SSL) { set resp.http.Strict-Transport-Security = "max-age=31536000"; } EOS }