Myra-Security-GmbH/terraform-provider-myrasec

Support Maintenance pages via Terraform ?

Closed this issue · 6 comments

Hi,

Is it plan to support maintenance pages via Myra terraform provider ?
It is a feature we would be interested by.

Thanks in advance for your support.
And thank you for the job done 👍

Hello @lejardindeden

Yes, we plan to support the maintenance pages via Terraform provider in the near future. The base integration in the myrasec-go lib (https://github.com/Myra-Security-GmbH/myrasec-go) is almost done.

Hi @xellio,

Thanks for the quick implementation done here!

I am noticing that active field is not supported in the resource while present in the data source.

Also, do you plan to support maintenance templates as well ?
I want to manage the same maintenance page from Terraform and Myra UI, presents in Maintenance Templates. This is currently not the case.

Best Regards!

I will open a new Issue/Request for the "Maintenance Templates". Do you need the active flag on the resources? As this is kind of read-only (as it is set by start/end date) it is not implemented right now.

#44

Great!
Regarding the active flag, I think it make sense to keep it as a read-only field. Indeed start/end should be set instead.

Hello @lejardindeden
Even if this issue is already set to closed state, I want to inform you that using the new version (v1.40.0), the active flag on maintenance pages is now supported (RO).