You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My team and I are trying to deploy a puppet YAML file with a new edit to add a new VPC in a fresh created AWS account, the account does exist and we are pasting the correct account ID, below is the syntax we are deploying
Running this with puppet produces the below error:
File "/root/.pyenv/versions/3.9.17/bin/servicecatalog-puppet", line 8, in
sys.exit(cli())
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/cli.py", line 407, in generate_task_reference
task_reference_commands.generate_task_reference(f)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/commands/task_reference.py", line 29, in generate_task_reference
complete = complete_generator.generate( # hub and spokes
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/commands/task_reference_helpers/complete_generator.py", line 76, in generate
tasks_to_add = manifest.get_tasks_for(
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/manifest_utils.py", line **57, in get_tasks_for
account = self.get_account(account_id_of_account_to_deploy_to)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/manifest_utils.py", line 1232, in get_account
raise Exception(f"Could not find account: {account_id}")
Exception: Could not find account: None
[Container] 2024/01/22 19:05:45.342779 Command did not exit successfully servicecatalog-puppet --info generate-task-reference $PWD/manifest-expanded.yaml exit status 1
If anyone has faced this error and could help with a solution please
The text was updated successfully, but these errors were encountered:
My team and I are trying to deploy a puppet YAML file with a new edit to add a new VPC in a fresh created AWS account, the account does exist and we are pasting the correct account ID, below is the syntax we are deploying
deploy_to:
accounts:
- account_id: *xyz_account_id
Running this with puppet produces the below error:
File "/root/.pyenv/versions/3.9.17/bin/servicecatalog-puppet", line 8, in
sys.exit(cli())
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/cli.py", line 407, in generate_task_reference
task_reference_commands.generate_task_reference(f)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/commands/task_reference.py", line 29, in generate_task_reference
complete = complete_generator.generate( # hub and spokes
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/commands/task_reference_helpers/complete_generator.py", line 76, in generate
tasks_to_add = manifest.get_tasks_for(
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/manifest_utils.py", line **57, in get_tasks_for
account = self.get_account(account_id_of_account_to_deploy_to)
File "/root/.pyenv/versions/3.9.17/lib/python3.9/site-packages/servicecatalog_puppet/manifest_utils.py", line 1232, in get_account
raise Exception(f"Could not find account: {account_id}")
Exception: Could not find account: None
[Container] 2024/01/22 19:05:45.342779 Command did not exit successfully servicecatalog-puppet --info generate-task-reference $PWD/manifest-expanded.yaml exit status 1
If anyone has faced this error and could help with a solution please
The text was updated successfully, but these errors were encountered: