Config VCS in Terraspace

Hi everyone,
I want to config terraspace using vcs-driven, but when I executed command terraspace, I got some errors related to ruby file. Here the config ruby (config/app.rb),

Terraspace.configure do |config| vcs_repo = { "identifier": "xxxx/yyyy", "oauth-token-id": 'qwqwq123123', "ingress-submodules": true, "branch": "another-branch", } config.cloud.workspace.attrs['vcs-repo'] = vcs_repo end

and for the errors :
1

Can you guys help me to figure out from this, thanks everyone.

Could you try changing config.cloud.workspace.attrs['vcs-repo'] = vcs_repo to config.tfc.workspace.attrs['vcs-repo'] = vcs_repo ?

1 Like