嗨,我在aws cdk上工作。我正在尝试获取已有的非默认vpc。我尝试了下面的选项。
vpc = ec2.Vpc.from_lookup(self, id = "VPC", vpc_id='vpcid', vpc_name='vpc-dev')
这将导致以下错误
[Error at /LocationCdkStack-cdkstack] Request has expired.
[Warning at /LocationCdkStack-cdkstack/TaskDef/mw-service] Proper policies need to be
我无法连接到我的RDS实例并继续获取
ERROR 2003 (HY000): Can't connect to MySQL server on "my endpoint"
我知道出现此错误是因为我的PC由于公共可访问性而未被授权访问数据库,但我无法让我的PC在安全组中进行授权。
我打开了RDS安全组,上面写着:
Using VPC? Visit the VPC page to create or manage VPC Security Groups and ingress rules to your DB Instances in VPC. Learn more abo