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
Errors out while trying command "cfn submit --set-default"
[durgesh hooks % cfn submit --set-default
Failed to load target info, attempting local...
Traceback (most recent call last):
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 715, in _add_hooks_content_to_zip
else self._load_target_info(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 1217, in _load_target_info
session = create_sdk_session(region_name, profile_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/boto_helpers.py", line 27, in create_sdk_session
_known_error("No region specified")
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/boto_helpers.py", line 19, in _known_error
raise CLIMisconfiguredError(
rpdk.core.exceptions.CLIMisconfiguredError: No region specified. Please ensure your AWS CLI is configured correctly: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html
Failed to load target info, ignoring...
Traceback (most recent call last):
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 715, in _add_hooks_content_to_zip
else self._load_target_info(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 1217, in _load_target_info
session = create_sdk_session(region_name, profile_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/boto_helpers.py", line 27, in create_sdk_session
_known_error("No region specified")
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/boto_helpers.py", line 19, in _known_error
raise CLIMisconfiguredError(
rpdk.core.exceptions.CLIMisconfiguredError: No region specified. Please ensure your AWS CLI is configured correctly: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 722, in _add_hooks_content_to_zip
target_info = self._load_target_info(None, None, local_only=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 1212, in _load_target_info
targets = TypeNameResolver.resolve_type_names_locally(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/type_name_resolver.py", line 48, in resolve_type_names_locally
raise InvalidTypeSchemaError(
rpdk.core.exceptions.InvalidTypeSchemaError: Type info must be provided for local resolving
Starting Docker build. This may take several minutes if the image 'public.ecr.aws/sam/build-python3.7' needs to be pulled first.
=== Unhandled exception ===
Please report this issue to the team.
Issue tracker: github.com/aws-cloudformation/cloudformation-cli/issues
Please include the log file 'rpdk.log'
The text was updated successfully, but these errors were encountered:
Errors out while trying command "cfn submit --set-default"
[durgesh hooks % cfn submit --set-default
Failed to load target info, attempting local...
Traceback (most recent call last):
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 715, in _add_hooks_content_to_zip
else self._load_target_info(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 1217, in _load_target_info
session = create_sdk_session(region_name, profile_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/boto_helpers.py", line 27, in create_sdk_session
_known_error("No region specified")
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/boto_helpers.py", line 19, in _known_error
raise CLIMisconfiguredError(
rpdk.core.exceptions.CLIMisconfiguredError: No region specified. Please ensure your AWS CLI is configured correctly: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html
Failed to load target info, ignoring...
Traceback (most recent call last):
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 715, in _add_hooks_content_to_zip
else self._load_target_info(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 1217, in _load_target_info
session = create_sdk_session(region_name, profile_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/boto_helpers.py", line 27, in create_sdk_session
_known_error("No region specified")
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/boto_helpers.py", line 19, in _known_error
raise CLIMisconfiguredError(
rpdk.core.exceptions.CLIMisconfiguredError: No region specified. Please ensure your AWS CLI is configured correctly: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 722, in _add_hooks_content_to_zip
target_info = self._load_target_info(None, None, local_only=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/project.py", line 1212, in _load_target_info
targets = TypeNameResolver.resolve_type_names_locally(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/cloudformation-cli/0.2.35_1/libexec/lib/python3.12/site-packages/rpdk/core/type_name_resolver.py", line 48, in resolve_type_names_locally
raise InvalidTypeSchemaError(
rpdk.core.exceptions.InvalidTypeSchemaError: Type info must be provided for local resolving
Starting Docker build. This may take several minutes if the image 'public.ecr.aws/sam/build-python3.7' needs to be pulled first.
=== Unhandled exception ===
Please report this issue to the team.
Issue tracker: github.com/aws-cloudformation/cloudformation-cli/issues
Please include the log file 'rpdk.log'
The text was updated successfully, but these errors were encountered: