hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.3k stars 1.73k forks source link

Add Private origin authentication support for Cloud CDN #18551

Closed matheusaleixo-cit closed 2 months ago

matheusaleixo-cit commented 3 months ago

Community Note

Description

Add Terraform support for configuring private origin authentication using signature v4 headers. Used for private S3 buckets or other compatible object stores.

New or Affected Resource(s)

Potential Terraform Configuration

resource "google_compute_backend_service" "example" {
  name          = "tf-test-backend-service-example"
  security_settings {
    aws_v4_authentication {
      access_key_id = "ELPMAXEFODNN7EXAMPLE"
      access_key = "EXAMPLEc5771d871763a393e44b703571b55cc28424d1a5e86da6ed3cELPMAXE"
      access_key_version = "prod-access-key-v1.2"
      origin_region = "us-east-2"
    }
  }
  backend {
    group = google_compute_global_network_endpoint_group.group.self_link
  }
}

References

API: Beta API for backendServices.securitySettings.awsV4Authentication

Docs: Configure private origin authentication

b/350514997

github-actions[bot] commented 1 month ago

I'm going to lock this issue because it has been closed for 30 days ā³. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.