Skip to content

can't modify frozen Hash #9

Description

@khouse

Hello!

we've hit an issue starting today with this gem, shown below:

  2) AwsSsmEnv Integration test path fetcher when recursive is false set environment variables from EC2 Parameter Store parameters
     Failure/Error: client.get_parameters_by_path(params)

     FrozenError:
       can't modify frozen Hash

(This was a run of me trying to reproduce the error we're seeing with existing integration tests.)

The error we're seeing replicates this one, where calling AwsSsmEnv.load! returns this error

Code snippet of our usage below:

      AwsSsmEnv.load!(
        path: "/default/#{environment}",
        recursive: true,
        ssm_client_args: {
          region: 'us-east-1'
        }
      )

We are running on ruby 2.5.8p224

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions