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

[New Resource]: Add cloudavenue_security_tag #113

Closed
MrRometo opened this issue Feb 22, 2023 · 2 comments · Fixed by #294
Closed

[New Resource]: Add cloudavenue_security_tag #113

MrRometo opened this issue Feb 22, 2023 · 2 comments · Fixed by #294
Assignees

Comments

@MrRometo
Copy link

Description

Provides a VMware Cloud Director SECURITY_TAG resource. This can be used to create, modify, and delete SECURITY_TAG.

Requested Resource(s) and/or Data Source(s)

cloudavenue_security_tag

Potential Terraform Configuration

resource "vcd_catalog" "myNewCatalog" {

  name             = "my-catalog_romain"
  description      = "catalog for files"
  delete_recursive = true
  delete_force     = true
}

data "vcd_catalog" "cat-datacloud" {
  name = "my-catalog_romain"
}

data "vcd_catalog_vapp_template" "debian_10_X64" {
  catalog_id = data.vcd_catalog.cat-datacloud.id
  name       = "debian_10_X64"
}

resource "vcd_vm" "TestVm" {
  name = "TestVm_romain"

  vapp_template_id = data.vcd_catalog_vapp_template.debian_10_X64.id
  cpus             = 2
  memory           = 2048

}

resource "vcd_security_tag" "my_tag" {
  name   = "test-tag-romain"
  vm_ids = [vcd_vm.TestVm.id]
}

References

https://registry.terraform.io/providers/vmware/vcd/latest/docs/resources/security_tag

Would you like to implement a fix?

None

@MrRometo
Copy link
Author

Require template "debian_10_X64" in catalog

@azrod
Copy link
Member

azrod commented Feb 22, 2023

Blocked by #94

@azrod azrod changed the title [New Resource]: Add VCD_SECURITY_TAG cloudavenue_security_tag [New Resource]: Add cloudavenue_security_tag Feb 22, 2023
@valentin-dubreuil valentin-dubreuil self-assigned this Apr 14, 2023
@dmicheneau dmicheneau linked a pull request May 22, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants