Deleting alicloud_hologram_instance or removing it from your configuration
The alicloud_hologram_instance resource allows you to manage payment_type = "Subscription" instance, but Terraform cannot destroy it.
Deleting the subscription resource or removing it from your configuration will remove it from your state file and management, but will not destroy the Instance.
You can resume managing the subscription instance via the AlibabaCloud Console.
Argument Reference
The following arguments are supported:
auto_pay - (Optional) Whether to pay automatically. The default value is true. Value:
true: automatic payment
false: only generate orders, not pay
endpoints
The endpoints supports the following:
type - (Optional) The network type.
vswitch_id - (Optional) The ID of the virtual switch.
vpc_id - (Optional) VPC primary key.
Attributes Reference
The following attributes are exported:
id - The ID of the resource supplied above.
create_time - The creation time of the resource.
endpoints - List of domain names.
alternative_endpoints - Some old instances have both AnyTunnel and SingleTunnel enabled. When switching from AnyTunnel to SingleTunnel, the endpoints of both are retained. Therefore, one more field is required to store the Endpoint.
enabled - Whether to turn on the network.
endpoint - Domain name.
vpc_instance_id - The vpc instance ID.
Timeouts
The timeouts block allows you to specify timeouts for certain actions:
create - (Defaults to 5 mins) Used when create the Instance.
delete - (Defaults to 5 mins) Used when delete the Instance.
update - (Defaults to 5 mins) Used when update the Instance.
Import
Hologram Instance can be imported using the id, e.g.