Skip to content

Error: Unsupported attribute #1

Open
@oulfr

Description

@oulfr

When I upload this template in coder I have this error:

  • Installed kreuzwerker/docker v3.0.2 (self-signed, key ID BD080C4571C6104C)
    Partner and community providers are signed by their developers.
    If you'd like to know more about provider signing, you can read about it here:
    https://www.terraform.io/docs/cli/plugins/signing.html
    Terraform has created a lock file .terraform.lock.hcl to record the provider
    selections it made above. Include this file in your version control repository
    so that Terraform can guarantee to make the same selections by default when
    you run "terraform init" in the future.
    Terraform has been successfully initialized!
    You may now begin working with Terraform. Try running "terraform plan" to see
    any changes that are required for your infrastructure. All Terraform commands
    should now work.
    If you ever set or change modules or backend configuration for Terraform,
    rerun this command to reinitialize your working directory. If you forget, other
    commands will detect it and remind you to do so if necessary.
    Terraform 1.9.8
    Error: Unsupported attribute
    on main.tf line 234, in resource "docker_container" "workspace":
    234: name = "coder-${data.coder_workspace.me.owner}-${lower(data.coder_workspace.me.name)}"
    This object has no argument, nested block, or exported attribute named "owner".
    Error: Unsupported attribute
    on main.tf line 289, in resource "docker_container" "workspace":
    289: value = data.coder_workspace.me.owner
    This object has no argument, nested block, or exported attribute named "owner".
    Error: Unsupported attribute
    on main.tf line 293, in resource "docker_container" "workspace":
    293: value = data.coder_workspace.me.owner_id
    This object has no argument, nested block, or exported attribute named "owner_id".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions