Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resource "aws_cloudfront_distribution" "tyxwebdistribution" {
- active_trusted_signers = {
- "enabled" = "false"
- "items.#" = "0"
- }
- aliases = [
- "*.tyxcloud.net",
- "tyxcloud.net",
- ]
- arn = "arn:aws:cloudfront::277130472756:distribution/E1DJ3MCI41VVNX"
- caller_reference = "1559812099002"
- default_root_object = "index.html"
- domain_name = "d21mg4l9sewtnf.cloudfront.net"
- enabled = true
- etag = "E2WWTMS5TJKAHM"
- hosted_zone_id = "Z2FDTNDATAQYW2"
- http_version = "http2"
- id = "E1DJ3MCI41VVNX"
- in_progress_validation_batches = 0
- is_ipv6_enabled = true
- last_modified_time = "2019-06-11 08:00:16.288 +0000 UTC"
- price_class = "PriceClass_100"
- retain_on_delete = false
- status = "Deployed"
- tags = {}
- wait_for_deployment = true
- custom_error_response {
- error_caching_min_ttl = 300
- error_code = 404
- response_code = 200
- response_page_path = "/index.html"
- }
- default_cache_behavior {
- allowed_methods = [
- "DELETE",
- "GET",
- "HEAD",
- "OPTIONS",
- "PATCH",
- "POST",
- "PUT",
- ]
- cached_methods = [
- "GET",
- "HEAD",
- ]
- compress = true
- default_ttl = 86400
- max_ttl = 31536000
- min_ttl = 0
- smooth_streaming = false
- target_origin_id = "S3-tyxcloud.net-test"
- trusted_signers = []
- viewer_protocol_policy = "redirect-to-https"
- forwarded_values {
- headers = []
- query_string = false
- query_string_cache_keys = []
- cookies {
- forward = "none"
- whitelisted_names = []
- }
- }
- }
- origin {
- domain_name = "tyxcloud.net-stage.s3.amazonaws.com"
- origin_id = "S3-tyxcloud.net-test"
- }
- restrictions {
- geo_restriction {
- locations = []
- restriction_type = "none"
- }
- }
- viewer_certificate {
- acm_certificate_arn = "arn:aws:acm:us-east-1:277130472756:certificate/a768fcfe-bca2-40b2-a766-958dcf7ec00c"
- cloudfront_default_certificate = false
- minimum_protocol_version = "TLSv1.1_2016"
- ssl_support_method = "sni-only"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement