resource "gcore_cdn_resource" "(name of your resource in Terraform)" {
. Replace the hints in the brackets with your values and remove the brackets.
terraform plan
command — it will show what changes Terraform is going to make. If the code contains an error, the output will give a brief description of it.
7. Run the terraform apply
command — it will make changes to the CDN. Terraform will ask you to confirm the action — enter “yes”.