aristanetworks / terraform-provider-cloudvision

Mozilla Public License 2.0
10 stars 5 forks source link

Ability to add a EOS image for new resources #1

Open burnyd opened 2 years ago

burnyd commented 2 years ago

Something to the effect of

resource cvprovider_cv_eos_image "latest"{
  eos_image = "4.27-latest.swi"
  bundle_name = "leaf-golden-image"
}

The idea would be to allow TF to push a EOS image to cloud vision to then deploy to all the devices.

This needs to be implemented in gocvprac as well as inside of terraform as a new resource.

burnyd commented 2 years ago

https://github.com/aristanetworks/go-cvprac/blob/resource-api/api/provisioning.go#L1482

Need to change the formatting a bit since this will eventually move to resource apis.

New plan is to add a container level image.


resource cvprovider_cv_container "example"{
  containername = "tf-example-container"
  parentcontainername = "Tenant"
  image = "eos-4.27.1F"
}