Skip to content

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

Open
@zackproser

Description

@zackproser

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions