Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 1.27 KB

alicloud_cr_service.md

File metadata and controls

87 lines (65 loc) · 1.27 KB

alicloud_cr_service

back

Index

Terraform

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

top

Example Usage

module "alicloud_cr_service" {
  source = "./modules/alicloud/d/alicloud_cr_service"

  # enable - (optional) is a type of string
  enable = null
  # password - (required) is a type of string
  password = null
}

top

Variables

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

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

top

Datasource

data "alicloud_cr_service" "this" {
  # enable - (optional) is a type of string
  enable = var.enable
  # password - (required) is a type of string
  password = var.password
}

top

Outputs

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

output "status" {
  description = "returns a string"
  value       = data.alicloud_cr_service.this.status
}

output "this" {
  value = alicloud_cr_service.this
}

top