Open
Description
openedon Aug 27, 2024
From Website it said and the example for stage deployment
is optional
Also from Deployment Page it recommended to use Stage only.
WARNING: It is recommended to use the aws.apigateway.Stage resource instead of managing an API Gateway Stage via the stage_name argument of this resource
Code:
from pulumi_aws import apigateway,lambda_
..
self.stage = apigateway.Stage(
"apiStage",
rest_api=self.api.id,
#deployment=self.deployment.id,
#stage_name="prod"
)
Error :
venv/lib/python3.10/site-packages/pulumi_aws/apigateway/stage.py", line 686, in _internal_init
raise TypeError("Missing required property 'deployment'")
TypeError: Missing required property 'deployment'
requirements.txt
pulumi>=3.0.0,<4.0.0
pulumi-aws>=6.0.0
Reference:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment