back
terraform {
required_providers {
alicloud = ">= 1.120.0"
}
}
top
module "alicloud_cr_repo" {
source = "./modules/alicloud/r/alicloud_cr_repo"
# detail - (optional) is a type of string
detail = 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
variable "detail" {
description = "(optional)"
type = string
default = null
}
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 "alicloud_cr_repo" "this" {
# detail - (optional) is a type of string
detail = var.detail
# 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
output "domain_list" {
description = "returns a map of string"
value = alicloud_cr_repo.this.domain_list
}
output "id" {
description = "returns a string"
value = alicloud_cr_repo.this.id
}
output "this" {
value = alicloud_cr_repo.this
}
top