Open Lock128 opened 8 months ago
Tried to workaround it by setting this.context.environmentId = 'prod';
But thats not possible as its readonly 👎
A potential workaround for me could be to set process.env.CONTEXT_ENVIRONMENTID=prod
but that doesnt feel to be correct?
A potential workaround for me could be to set
process.env.CONTEXT_ENVIRONMENTID=prod
but that doesnt feel to be correct?
That worked as a workaround...
process.env.CONTEXT_ENVIRONMENTID=prod
Is currently the way blueprints deal with this problem. But yes, I agree this doesnt seem quite right. I'll take it back to the team and give it a review
Maybe it might make sense to switch it - the "default" is the "prod" version and if you want to use the other possible type you need to explicitely set it?
Describe the bug
As part of our projen-pipelines implementation I am making use of the Workflows SDK
When using
I am getting the following error message when executing the generated workflow:
I think the error is in here and I dont really know if thats intended or not: https://github.com/aws/codecatalyst-blueprints/blob/6e4e870fc9b6c818158d447a2e0a6552c940eff6/packages/components/workflows/src/actions/action.ts#L25