Skip to content

add support of nocloud iso file generateΒ #127

@fsdrw08

Description

@fsdrw08

Terraform CLI and Provider Versions

Terraform v1.4.6

Use Cases or Problem Statement

This feature request is in order to manage cloudinit nocloud datasource iso file from this provider.
In some on premise senairo (e.g. Hyper-V, work with taliesins/hyperv
terraform provider),
it would be great to create / update / destroy nocloud iso file by this cloudinit provider

Proposal

have a new resource in this provider, something like cloudinit_nocloud_iso, with the schema like below:

  • files: a list of file content should contain in the iso file
  • path: the iso file path which this resouce should generate to
  • format: vfat or iso9660 filesystem
resource "cloudinit_nocloud_iso" "foobar" {
  files {
    meta-data     = "instance-id: iid-for-the-target-machine"
    user-data = data.cloudinit_config.xxx
    network-config = ....
  }

  path = "/path/to/the/nocloud/iso"
  format = "iso9660"
}

How much impact is this issue causing?

Medium

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions