This message was deleted.
# typescript
s
This message was deleted.
b
Which part are you struggling with?
f
The logic, please.
I am new to Pulumi so I am trying to figure out how I can achieve this.
d
I would recommend to create a hosted zone in your dev account like staging.example.com. You configure staging.example.com as a NS entry in production account to delegate the sub domain to your dev aws account. Your pulumi code in dev will then create only an entry like test1.staging.example.com in an hosted zone in the same AWS account.
f
Thank you very much, @dazzling-belgium-15679 for the input. I will try that right away and give you a feedback.
A break down of the task. The parent domain is inside the Production account (example.com). And under that domain, a subdomain, a subdomain was created (dev.example.com), where dev is the stack name. Now what I want to achieve is the use of ephemeral environments. So now, when I create a name stack, say testing, it should have that record registered on the production account as (testing.example.com).