Skip to content

Latest commit

 

History

History
102 lines (77 loc) · 1.73 KB

aws_codestarconnections_connection.md

File metadata and controls

102 lines (77 loc) · 1.73 KB

aws_codestarconnections_connection

back

Index

Terraform

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

top

Example Usage

module "aws_codestarconnections_connection" {
  source = "./modules/aws/d/aws_codestarconnections_connection"

  # arn - (required) is a type of string
  arn = null
  # tags - (optional) is a type of map of string
  tags = {}
}

top

Variables

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

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

top

Datasource

data "aws_codestarconnections_connection" "this" {
  # arn - (required) is a type of string
  arn = var.arn
  # tags - (optional) is a type of map of string
  tags = var.tags
}

top

Outputs

output "connection_status" {
  description = "returns a string"
  value       = data.aws_codestarconnections_connection.this.connection_status
}

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

output "name" {
  description = "returns a string"
  value       = data.aws_codestarconnections_connection.this.name
}

output "provider_type" {
  description = "returns a string"
  value       = data.aws_codestarconnections_connection.this.provider_type
}

output "tags" {
  description = "returns a map of string"
  value       = data.aws_codestarconnections_connection.this.tags
}

output "this" {
  value = aws_codestarconnections_connection.this
}

top