tfwriter

Terraform HCL code generator.

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

alicloud_image_share_permission

back

Index

Terraform

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

top

Example Usage

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

  # account_id - (required) is a type of string
  account_id = null
  # image_id - (required) is a type of string
  image_id = null
}

top

Variables

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

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

top

Resource

resource "alicloud_image_share_permission" "this" {
  # account_id - (required) is a type of string
  account_id = var.account_id
  # image_id - (required) is a type of string
  image_id = var.image_id
}

top

Outputs

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

output "this" {
  value = alicloud_image_share_permission.this
}

top