This PR integrates the new API v1 for Serverless Containers in Terraform.
- Changes on
scaleway_container resource:
- New field:
startup_probe allows to define how to check if the container has started successfully.
memory_limit (measured in MiB) is deprecated in favor of memory_limit_bytes (measured in bytes)
local_storage_limit (measured in MiB) is deprecated in favor local_storage_limit_bytes (measured in bytes)
domain_name computed attribute is deprecated in favor of public_endpoint
health_check is deprecated in favor of liveness_probe
http_option is deprecated in favor of https_connections_only
deploy is deprecated and no longer has any effect, containers are automatically deployed at creation, and redeployed following any change.
- Changes on
scaleway_container_token resource:
This resource is deprecated, please use IAM tokens instead (refer to the documentation to see how to implement them)
- Changes on
scaleway_container_cron resource:
This resource is deprecated, please use the scaleway_container_trigger.cron resource instead
- Changes on
scaleway_container_trigger resource:
- New trigger type:
cron
- On NATS triggers, credentials are no longer automatically generated, they have to be passed using the
credentials_file_content field (refer to the documentation for more info)
- On SQS triggers, credentials are no longer automatically generated, they have to be passed using the
access_key and secret_key fields (refer to the documentation for more info)
This PR integrates the new API v1 for Serverless Containers in Terraform.
scaleway_containerresource:startup_probeallows to define how to check if the container has started successfully.memory_limit(measured in MiB) is deprecated in favor ofmemory_limit_bytes(measured in bytes)local_storage_limit(measured in MiB) is deprecated in favorlocal_storage_limit_bytes(measured in bytes)domain_namecomputed attribute is deprecated in favor ofpublic_endpointhealth_checkis deprecated in favor ofliveness_probehttp_optionis deprecated in favor ofhttps_connections_onlydeployis deprecated and no longer has any effect, containers are automatically deployed at creation, and redeployed following any change.scaleway_container_tokenresource:This resource is deprecated, please use IAM tokens instead (refer to the documentation to see how to implement them)
scaleway_container_cronresource:This resource is deprecated, please use the
scaleway_container_trigger.cronresource insteadscaleway_container_triggerresource:croncredentials_file_contentfield (refer to the documentation for more info)access_keyandsecret_keyfields (refer to the documentation for more info)