https://pulumi.com logo
Title
o

orange-airport-64592

12/07/2022, 3:45 AM
Hi, Why is there an error ? as a different region for the bucket?
aws:s3:Bucket (S3-IoT-stage-job-jar):
    error: deleting urn:pulumi:stage-import-clone::stage_only::aws:s3/bucket:Bucket::S3-IoT-stage-job-jar: 1 error occurred:
        * error deleting S3 Bucket (s3-iot-stage-job-jar-7e2c66a): IllegalLocationConstraintException: The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to.
        status code: 400, request id: PP0EY31SN0BDDB95, host id: 3Ssyi806zke54MGOBFSsvK3pAh11K3QQi6eQZPulDsBUnAeR5rigSvGkVen91PNduIU3QPgcXJY=
 
  aws:s3:Bucket (S3-IoT-stage-onecloud-customer-files):
    error: deleting urn:pulumi:stage-import-clone::stage_only::aws:s3/bucket:Bucket::S3-IoT-stage-onecloud-customer-files: 1 error occurred:
        * error deleting S3 Bucket (s3-iot-stage-onecloud-customer-files-46fb81f): IllegalLocationConstraintException: The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to.
        status code: 400, request id: PP03BQD656QWS92Z, host id: nbOU5sqTDuOe0KhiwElXHBpg942got9OavgN0ASR7MbMQp8MbhUcjpoE3oSpeeYmZJNhxfyz5HQ=
But I create it by the same code.
b

brainy-church-78120

12/07/2022, 4:13 AM
can you try refresh first, then run up, do you get the same error?
o

orange-airport-64592

12/08/2022, 1:36 AM
yeah, Thank you, I found this is my mistake, I modified the config of stack halfway