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

[Bug] Error provisioning Pinecone API Key SSM secret #81

Open
2 tasks done
zackproser opened this issue Jun 20, 2024 · 0 comments
Open
2 tasks done

[Bug] Error provisioning Pinecone API Key SSM secret #81

zackproser opened this issue Jun 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zackproser
Copy link
Collaborator

Is this a new bug?

  • I believe this is a new bug
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

On a clean pulumi up after setting the Pinecone API key via the pulumi config and also exporting it in my shell, provisioning the SSM secrets that will contain the Pinecone API fails.

Expected Behavior

Provisioning should succeed without error.

Steps To Reproduce

Run pulumi up after setting the Pinecone API key in Pulumi config as specified by the project README.

Relevant log output

Type                             Name                             Status                  Info
     pulumi:pulumi:Stack              ratest-clean                     **failed**              1 error
 +   ├─ aws:ssm:Parameter             frontend-PINECONE_API_KEY        **creating failed**     1 error
 +   ├─ aws:iam:RolePolicy            emu-ssm-params                   created (4s)            
 +   ├─ aws:iam:RolePolicyAttachment  ecs-execution-policy-attachment  created (4s)            
 +   ├─ aws:sns:TopicSubscription     dl-queue-subscription            created (6s)            
 +   ├─ aws:ssm:Parameter             emu-PINECONE_API_KEY             **creating failed**     1 error
 +   ├─ aws:iam:RolePolicy            frontend-ssm-params              created (4s)            
 +   ├─ aws:sqs:Queue                 job-queue                        created (31s)           
 +   └─ aws:iam:RolePolicy            pelican-ssm-params               created (5s)            

Diagnostics:
  pulumi:pulumi:Stack (ratest-clean):
    error: update failed

  aws:ssm:Parameter (frontend-PINECONE_API_KEY):
    error: 1 error occurred:
        * creating SSM Parameter (frontend-PINECONE_API_KEY-ae4c997): ValidationException: 1 validation error detected: Value at 'value' failed to satisfy constraint: Member must have length greater than or equal to 1
        status code: 400, request id: 07f78b44-44d4-4ab6-b94b-306daccc67b8

  aws:ssm:Parameter (emu-PINECONE_API_KEY):
    error: 1 error occurred:
        * creating SSM Parameter (emu-PINECONE_API_KEY-55b5243): ValidationException: 1 validation error detected: Value at 'value' failed to satisfy constraint: Member must have length greater than or equal to 1
        status code: 400, request id: 22510912-fd75-474a-85a6-d7fc44c4a786

Resources:
    + 6 created
    20 unchanged

Duration: 37s

Environment

- **OS**:
- **Language version**:
- **Pinecone client version**:

Additional Context

No response

@zackproser zackproser added the bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant