Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
in the top section ‘Creating a Module’ the apply step errors out
2021-09-24T15:17:05.124-0400 [WARN] ValidateProviderConfig from “provider["registry.terraform.io/digitalocean/digitalocean"]” changed the config value, but that value is unused 2021-09-24T15:17:05.129-0400 [WARN] Provider “registry.terraform.io/digitalocean/digitalocean” produced an invalid plan for module.groups.digitalocean_droplet.droplets[1], but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .backups: planned value cty.False for a non-computed attribute - .resize_disk: planned value cty.True for a non-computed attribute - .monitoring: planned value cty.False for a non-computed attribute - .ipv6: planned value cty.False for a non-computed attribute 2021-09-24T15:17:05.129-0400 [WARN] Provider “registry.terraform.io/digitalocean/digitalocean” produced an invalid plan for module.groups.digitalocean_droplet.droplets[2], but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .monitoring: planned value cty.False for a non-computed attribute - .ipv6: planned value cty.False for a non-computed attribute - .backups: planned value cty.False for a non-computed attribute - .resize_disk: planned value cty.True for a non-computed attribute 2021-09-24T15:17:05.129-0400 [WARN] Provider “registry.terraform.io/digitalocean/digitalocean” produced an invalid plan for module.groups.digitalocean_droplet.droplets[0], but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .resize_disk: planned value cty.True for a non-computed attribute - .monitoring: planned value cty.False for a non-computed attribute - .ipv6: planned value cty.False for a non-computed attribute - .backups: planned value cty.False for a non-computed attribute 2021-09-24T15:17:05.134-0400 [WARN] Provider “registry.terraform.io/digitalocean/digitalocean” produced an invalid plan for module.groups.digitalocean_loadbalancer.www-lb, but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .size: planned value cty.StringVal(“lb-small”) for a non-computed attribute - .enable_backend_keepalive: planned value cty.False for a non-computed attribute - .redirect_http_to_https: planned value cty.False for a non-computed attribute - .algorithm: planned value cty.StringVal(“round_robin”) for a non-computed attribute - .droplet_ids: planned value cty.UnknownVal(cty.Set(cty.Number)) does not match config value cty.SetVal([]cty.Value{cty.UnknownVal(cty.Number), cty.UnknownVal(cty.Number), cty.UnknownVal(cty.Number)}) - .enable_proxy_protocol: planned value cty.False for a non-computed attribute - .healthcheck[0].check_interval_seconds: planned value cty.NumberIntVal(10) for a non-computed attribute - .healthcheck[0].healthy_threshold: planned value cty.NumberIntVal(5) for a non-computed attribute - .healthcheck[0].response_timeout_seconds: planned value cty.NumberIntVal(5) for a non-computed attribute - .healthcheck[0].unhealthy_threshold: planned value cty.NumberIntVal(3) for a non-computed attribute - .sticky_sessions: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
Terraform will perform the following actions:
algorithm = “round_robin”
droplet_ids = (known after apply)
enable_backend_keepalive = false
enable_proxy_protocol = false
id = (known after apply)
ip = (known after apply)
name = “lb-group1”
redirect_http_to_https = false
region = “fra1”
size = “lb-small”
status = (known after apply)
urn = (known after apply)
vpc_uuid = (known after apply)
forwarding_rule {
healthcheck {
sticky_sessions {
Plan: 4 to add, 0 to change, 0 to destroy.
Changes to Outputs:
Do you want to perform these actions? Terraform will perform the actions described above. Only ‘yes’ will be accepted to approve.
Enter a value: yes
2021-09-24T15:17:07.603-0400 [WARN] ValidateProviderConfig from “provider["registry.terraform.io/digitalocean/digitalocean"]” changed the config value, but that value is unused 2021-09-24T15:17:07.607-0400 [WARN] Provider “registry.terraform.io/digitalocean/digitalocean” produced an invalid plan for module.groups.digitalocean_droplet.droplets[2], but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .monitoring: planned value cty.False for a non-computed attribute - .ipv6: planned value cty.False for a non-computed attribute - .backups: planned value cty.False for a non-computed attribute - .resize_disk: planned value cty.True for a non-computed attribute module.groups.digitalocean_droplet.droplets[2]: Creating… 2021-09-24T15:17:07.607-0400 [WARN] Provider “registry.terraform.io/digitalocean/digitalocean” produced an invalid plan for module.groups.digitalocean_droplet.droplets[1], but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .monitoring: planned value cty.False for a non-computed attribute - .ipv6: planned value cty.False for a non-computed attribute - .backups: planned value cty.False for a non-computed attribute - .resize_disk: planned value cty.True for a non-computed attribute 2021-09-24T15:17:07.608-0400 [WARN] Provider “registry.terraform.io/digitalocean/digitalocean” produced an invalid plan for module.groups.digitalocean_droplet.droplets[0], but we are tolerating it because it is using the legacy plugin SDK. The following problems may be the cause of any confusing errors from downstream operations: - .monitoring: planned value cty.False for a non-computed attribute - .ipv6: planned value cty.False for a non-computed attribute - .backups: planned value cty.False for a non-computed attribute - .resize_disk: planned value cty.True for a non-computed attribute module.groups.digitalocean_droplet.droplets[0]: Creating… module.groups.digitalocean_droplet.droplets[1]: Creating… ╷ │ Error: Error creating droplet: POST https://api.digitalocean.com/v2/droplets: 401 (request “c48b0fc8-f93c-42f2-92d9-fe4f591e3267”) Unable to authenticate you │ │ with module.groups.digitalocean_droplet.droplets[2], │ on modules/droplet-lb/droplets.tf line 3, in resource “digitalocean_droplet” “droplets”: │ 3: resource “digitalocean_droplet” “droplets” { │ ╵ ╷ │ Error: Error creating droplet: POST https://api.digitalocean.com/v2/droplets: 401 (request “2c7000b8-b87b-4532-a12d-fe4334a08e6b”) Unable to authenticate you │ │ with module.groups.digitalocean_droplet.droplets[0], │ on modules/droplet-lb/droplets.tf line 3, in resource “digitalocean_droplet” “droplets”: │ 3: resource “digitalocean_droplet” “droplets” { │ ╵ ╷ │ Error: Error creating droplet: POST https://api.digitalocean.com/v2/droplets: 401 (request “898897fa-5c8b-444e-a1f0-5cf2875fbf80”) Unable to authenticate you │ │ with module.groups.digitalocean_droplet.droplets[1], │ on modules/droplet-lb/droplets.tf line 3, in resource “digitalocean_droplet” “droplets”: │ 3: resource “digitalocean_droplet” “droplets” { │ ╵
I have been doing several of your earlier such tutorials just fine so dunno why this error now ?
This comment has been deleted