Skip to content

Conversation

gabbyhagag
Copy link
Member

Support VPC to lambda.
After this change, you can add VPC configuration to lambda and it will add the policy.

{
  vpc_config = {
    subnet_ids         = ["subnet-12345678", "subnet-87654321"]
    security_group_ids = ["sg-12345678"]
  }
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vpc in lambda

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed:
9007bf3


env_vars = {
# Required environment variables
SPECTRAL_DSN = "MySpectralDSN"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think better avoid spectral dsn in the examples - the best practice is to use vault since this is a secret

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed:
9007bf3

@ChengaDev ChengaDev merged commit 0e052e9 into SpectralOps:main Dec 31, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants