Skip to content

Error: Unsupported attribute #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
oulfr opened this issue Feb 21, 2025 · 0 comments
Open

Error: Unsupported attribute #1

oulfr opened this issue Feb 21, 2025 · 0 comments

Comments

@oulfr
Copy link

oulfr commented Feb 21, 2025

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".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant