tall-motorcycle-49344
03/20/2025, 3:24 AMus-east-1
) into the current one, aws.config.region='us-east-2'
.
I'm observing that the destination_region
parameter in this invocation has no effect, causing the incorrect behavior of a copy inside the source region. (Also, the ergonomics for the source are a bit weird, but I can live with that). I wonder how I can trace the way the Python code is converted into an AWS primitive. I've run the command manually using the AWS console, and AWS does perform inter-region copies when requested to do so.
copied_snapshot = aws.rds.SnapshotCopy(f"db-snapshot-copy-{environment_identifier}",
source_db_snapshot_identifier=db_snapshot_identifier,
target_db_snapshot_identifier=target_snapshot_name,
destination_region=aws.config.region,
kms_key_id=None, # Use default KMS key
tags={
"Name": f"hero-db-snapshot-copy-{environment_identifier}",
"Environment": environment_identifier,
},
opts=pulumi.ResourceOptions(provider=aws_source_region),
)
echoing-dinner-19531
03/20/2025, 8:05 AMtall-motorcycle-49344
03/20/2025, 9:45 AM