Skip to content

Latest commit

 

History

History
98 lines (73 loc) · 1.74 KB

aws_cloudfront_origin_access_identity.md

File metadata and controls

98 lines (73 loc) · 1.74 KB

aws_cloudfront_origin_access_identity

back

Index

Terraform

terraform {
  required_providers {
    aws = ">= 3.35.0"
  }
}

top

Example Usage

module "aws_cloudfront_origin_access_identity" {
  source = "./modules/aws/r/aws_cloudfront_origin_access_identity"

  # comment - (optional) is a type of string
  comment = null
}

top

Variables

variable "comment" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Resource

resource "aws_cloudfront_origin_access_identity" "this" {
  # comment - (optional) is a type of string
  comment = var.comment
}

top

Outputs

output "caller_reference" {
  description = "returns a string"
  value       = aws_cloudfront_origin_access_identity.this.caller_reference
}

output "cloudfront_access_identity_path" {
  description = "returns a string"
  value       = aws_cloudfront_origin_access_identity.this.cloudfront_access_identity_path
}

output "etag" {
  description = "returns a string"
  value       = aws_cloudfront_origin_access_identity.this.etag
}

output "iam_arn" {
  description = "returns a string"
  value       = aws_cloudfront_origin_access_identity.this.iam_arn
}

output "id" {
  description = "returns a string"
  value       = aws_cloudfront_origin_access_identity.this.id
}

output "s3_canonical_user_id" {
  description = "returns a string"
  value       = aws_cloudfront_origin_access_identity.this.s3_canonical_user_id
}

output "this" {
  value = aws_cloudfront_origin_access_identity.this
}

top