cloudstack-terraform-provider
cloudstack-terraform-provider copied to clipboard
[WIP] Add CloudStack project resource
Adding project as a terraform managed resource option -> https://cloudstack.apache.org/api/apidocs-4.20/apis/createProject.html
Contributes to https://github.com/apache/cloudstack-terraform-provider/issues/82
Using this code for example:
resource "cloudstack_project" "foo" {
name = "terraform-test-project"
display_text = "Terraform Test Project"
}
+ resource "cloudstack_project" "foo" {
+ display_text = "Terraform Test Project"
+ domain = (known after apply)
+ id = (known after apply)
+ name = "terraform-test-project"
}
cloudstack_project.foo: Creating...
cloudstack_project.foo: Creation complete after 1s [id=06c584de-8f5f-4c72-8eab-672668e3c165]
I set this up for Cloudstack API 4.20, I see the tests are 4.18 and 4.19.
What's the back version compatibility of this project looking for?
There was a difference in the API between 4.18 and 4.19+ for this resource at a quick glance. So if there is a plan to add 4.20 Acceptance Tests and depreciate 4.18 I will wait for those results.
Maybe supersedes #152
@CodeBleu If possible can you kick a test off here? I merged your actions changes from earlier today to hopefully get the acceptance tests actually working
@CodeBleu If possible can you kick a test off here? I merged your actions changes from earlier today to hopefully get the acceptance tests actually working
@ianc769 I kicked it off
@CodeBleu Ok I think i resolved all the test issues, thanks for fixing the workflows! If you can kick tests for this and #181 that would be much appreciated 😄
After some more in depth testing with all the new resources I'm adding in #181 #195 and #197 I found some issues I had to fix when deleting project resources.
@ianc769, could you please resolve the conflict
@ianc769 could you please resolve the conflict