Skip to content
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

ValueError: Unable to define secret ARN nor secret name #1

Open
deuscapturus opened this issue Sep 12, 2022 · 0 comments · May be fixed by #2
Open

ValueError: Unable to define secret ARN nor secret name #1

deuscapturus opened this issue Sep 12, 2022 · 0 comments · May be fixed by #2

Comments

@deuscapturus
Copy link

  • AWS CFN Custom resource Resolve parser version: 0.2.1
  • Python version: 3.9
  • Operating System: Linux

Description

No match is found in regex search.

What I Did

[ERROR] ValueError: ('Unable to define secret ARN nor secret name from', '{{resolve:secretsmanager:arn:aws:secretsmanager:us-west-2:000000000000:secret:devop/Postgres:SecretString:password::}}')
Traceback (most recent call last):
  File "/var/task/main.py", line 187, in handler
    create_job(event, env_mapping, topic_version)
  File "/var/task/main.py", line 94, in create_job
    postgres_password =  handle(event['ResourceProperties'].get('PostgresPassword'))
  File "/var/task/aws_cfn_custom_resource_resolve_parser/__init__.py", line 143, in handle
    parts = parse_secret_resolve_string(resolve_str)
  File "/var/task/aws_cfn_custom_resource_resolve_parser/__init__.py", line 80, in parse_secret_resolve_string
    raise ValueError(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant