This module is used to create Image
data "ibm_resource_group" "resource_group" {
name = (var.resource_group != null ? var.resource_group : "default")
}
module "image" {
source = "terraform-ibm-modules/vpc/ibm//modules/image"
name = var.name
resource_group_id = data.ibm_resource_group.resource_group.id
href = var.href
operating_system = var.operating_system
encrypted_data_key = var.encrypted_data_key
encryption_key = var.encryption_key
tags = var.tags
}
Name | Version |
---|---|
terraform | >= 1.3.0 |
ibm | >= 1.64.0, <2.0.0 |
No modules.
Name | Type |
---|---|
ibm_is_image.image | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
encrypted_data_key | A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image | string |
null |
no |
encryption_key | The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource | string |
null |
no |
href | Image Href value | string |
n/a | yes |
name | Name of the Image | string |
n/a | yes |
operating_system | Image Operating system | string |
n/a | yes |
resource_group_id | Resource group ID | string |
null |
no |
tags | List of Tags for the Image | list(string) |
null |
no |
Name | Description |
---|---|
image_id | The ID of the Image |