I am creating usage plans for api gateway in my serverless configuration. I would like to get the ID of the created plans and put them in environment variables. The reason for this is to reference the usage plans within a lambda to associate newly created api keys with a particular plan.
provider: ... apiGateway: usagePlan: - free: quota: limit: 1000 offset: 0 period: MONTH environment: USAGE_PLAN_FREE_ID: # what to put here?
I did some searching and found this post, but its really old and I don’t think this approach still works
Thank you guys for keeping this community strong