Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support of nocloud iso file generate #127

Open
1 task done
fsdrw08 opened this issue May 20, 2023 · 0 comments
Open
1 task done

add support of nocloud iso file generate #127

fsdrw08 opened this issue May 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fsdrw08
Copy link

fsdrw08 commented May 20, 2023

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
@fsdrw08 fsdrw08 added the enhancement New feature or request label May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant