kapil
kapil
CCoder.com
Created by kapil on 5/6/2025 in #help
https://coder.com/docs/install/cloud/compute-engine
I installed coder from the GCP market place and trying create a workspace using the existing Docker template, I'm getting the following error.
Error: Unsupported attribute
on main.tf line 13, in locals:
13: username = data.coder_workspace.me.owner
This object has no argument, nested block, or exported attribute named "owner".
Error: Unsupported attribute
on main.tf line 42, in resource "coder_agent" "main":
42: GIT_AUTHOR_NAME = "${data.coder_workspace.me.owner}"
This object has no argument, nested block, or exported attribute named "owner".
Error: Unsupported attribute
on main.tf line 43, in resource "coder_agent" "main":
43: GIT_COMMITTER_NAME = "${data.coder_workspace.me.owner}"
This object has no argument, nested block, or exported attribute named "owner".
Error: Unsupported attribute
on main.tf line 44, in resource "coder_agent" "main":
44: GIT_AUTHOR_EMAIL = "${data.coder_workspace.me.owner_email}"
This object has no argument, nested block, or exported attribute named "owner_email".
Error: Unsupported attribute
on main.tf line 45, in resource "coder_agent" "main":
45: GIT_COMMITTER_EMAIL = "${data.coder_workspace.me.owner_email}"
This object has no argument, nested block, or exported attribute named "owner_email".
Error: Unsupported attribute
on main.tf line 140, in resource "docker_volume" "home_volume":
140: 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 144, in resource "docker_volume" "home_volume":
144: value = data.coder_workspace.me.owner_id
This object has no argument, nested block, or exported attribute named "owner_id".
Error: Unsupported attribute
on main.tf line 13, in locals:
13: username = data.coder_workspace.me.owner
This object has no argument, nested block, or exported attribute named "owner".
Error: Unsupported attribute
on main.tf line 42, in resource "coder_agent" "main":
42: GIT_AUTHOR_NAME = "${data.coder_workspace.me.owner}"
This object has no argument, nested block, or exported attribute named "owner".
Error: Unsupported attribute
on main.tf line 43, in resource "coder_agent" "main":
43: GIT_COMMITTER_NAME = "${data.coder_workspace.me.owner}"
This object has no argument, nested block, or exported attribute named "owner".
Error: Unsupported attribute
on main.tf line 44, in resource "coder_agent" "main":
44: GIT_AUTHOR_EMAIL = "${data.coder_workspace.me.owner_email}"
This object has no argument, nested block, or exported attribute named "owner_email".
Error: Unsupported attribute
on main.tf line 45, in resource "coder_agent" "main":
45: GIT_COMMITTER_EMAIL = "${data.coder_workspace.me.owner_email}"
This object has no argument, nested block, or exported attribute named "owner_email".
Error: Unsupported attribute
on main.tf line 140, in resource "docker_volume" "home_volume":
140: 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 144, in resource "docker_volume" "home_volume":
144: value = data.coder_workspace.me.owner_id
This object has no argument, nested block, or exported attribute named "owner_id".
Am I missing any initial setups?
6 replies