1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Manage to make it works with this code:
tmp = []
for sub in vpc.private_subnets:
tmp.append(sub.subnet_id)
rep_sub = dms.CfnReplicationSubnetGroup(self, "rep_sub",
replication_subnet_group_description="desc rep_sub",
subnet_ids=tmp
)
rep = dms.CfnReplicationInstance(self, "rep-instance",
replication_instance_class="dms.t2.micro",
replication_subnet_group_identifier=rep_sub.ref,
publicly_accessible=False
)
It creates the Subnet group and the association with the replication instance. The replication instance is then placed in the VPC where the subnets belongs.
répondu il y a 4 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an