Skip to content

Latest commit

 

History

History
130 lines (103 loc) · 2.55 KB

aws_signer_signing_profile_permission.md

File metadata and controls

130 lines (103 loc) · 2.55 KB

aws_signer_signing_profile_permission

back

Index

Terraform

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

top

Example Usage

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

  # action - (required) is a type of string
  action = null
  # principal - (required) is a type of string
  principal = null
  # profile_name - (required) is a type of string
  profile_name = null
  # profile_version - (optional) is a type of string
  profile_version = null
  # statement_id - (optional) is a type of string
  statement_id = null
  # statement_id_prefix - (optional) is a type of string
  statement_id_prefix = null
}

top

Variables

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

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

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

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

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

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

top

Resource

resource "aws_signer_signing_profile_permission" "this" {
  # action - (required) is a type of string
  action = var.action
  # principal - (required) is a type of string
  principal = var.principal
  # profile_name - (required) is a type of string
  profile_name = var.profile_name
  # profile_version - (optional) is a type of string
  profile_version = var.profile_version
  # statement_id - (optional) is a type of string
  statement_id = var.statement_id
  # statement_id_prefix - (optional) is a type of string
  statement_id_prefix = var.statement_id_prefix
}

top

Outputs

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

output "profile_version" {
  description = "returns a string"
  value       = aws_signer_signing_profile_permission.this.profile_version
}

output "statement_id" {
  description = "returns a string"
  value       = aws_signer_signing_profile_permission.this.statement_id
}

output "this" {
  value = aws_signer_signing_profile_permission.this
}

top