Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.23 KB

aws_media_store_container_policy.md

File metadata and controls

81 lines (60 loc) · 1.23 KB

aws_media_store_container_policy

back

Index

Terraform

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

top

Example Usage

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

  # container_name - (required) is a type of string
  container_name = null
  # policy - (required) is a type of string
  policy = null
}

top

Variables

variable "container_name" {
  description = "(required)"
  type        = string
}

variable "policy" {
  description = "(required)"
  type        = string
}

top

Resource

resource "aws_media_store_container_policy" "this" {
  # container_name - (required) is a type of string
  container_name = var.container_name
  # policy - (required) is a type of string
  policy = var.policy
}

top

Outputs

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

output "this" {
  value = aws_media_store_container_policy.this
}

top