tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

alicloud_cr_ee_repo

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

module "alicloud_cr_ee_repo" {
  source = "./modules/alicloud/r/alicloud_cr_ee_repo"

  # detail - (optional) is a type of string
  detail = null
  # instance_id - (required) is a type of string
  instance_id = null
  # name - (required) is a type of string
  name = null
  # namespace - (required) is a type of string
  namespace = null
  # repo_type - (required) is a type of string
  repo_type = null
  # summary - (required) is a type of string
  summary = null
}

top

Variables

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

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

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

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

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

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

top

Resource

resource "alicloud_cr_ee_repo" "this" {
  # detail - (optional) is a type of string
  detail = var.detail
  # instance_id - (required) is a type of string
  instance_id = var.instance_id
  # name - (required) is a type of string
  name = var.name
  # namespace - (required) is a type of string
  namespace = var.namespace
  # repo_type - (required) is a type of string
  repo_type = var.repo_type
  # summary - (required) is a type of string
  summary = var.summary
}

top

Outputs

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

output "repo_id" {
  description = "returns a string"
  value       = alicloud_cr_ee_repo.this.repo_id
}

output "this" {
  value = alicloud_cr_ee_repo.this
}

top