go-gandi / terraform-provider-gandi

Terraform provider for the Gandi Domain services
Mozilla Public License 2.0
153 stars 46 forks source link

Add simplehosting_instance resource #75

Closed nlewo closed 2 years ago

nlewo commented 2 years ago

This resource allows to manage a SimpleHosting instance. An acceptance test [1] has also been added.

Alone, this PR is not really useful since to actually deploy a website, it is necessary to attach a vhost to an instance. The vhost resource will be bring by a followup PR.

Note the acceptance test can currently not be executed by a CI because there is currently no way to bypass the billing:/

This PR is draft because it depends on https://github.com/go-gandi/go-gandi/pull/48.

[1] https://www.terraform.io/docs/extend/testing/acceptance-tests/index.html