gray-sandwich-51355
05/02/2023, 1:03 PMpulumi up
. Is there a reason for this and how would I make sure that the record is not updated during the preview?
const googleDomainUrl = pulumi.interpolate `<https://domains.google.com/nic/update?hostname=${mydomain}&myip=${ip.address}>`;
const options =
{
method: 'POST',
headers: {
'User-Agent': 'Pulumi',
'Authorization': `Basic ${Buffer.from(`${googleDomainUser}:${googleDomainPass}`).toString('base64')}`
}
}
let response = googleDomainUrl.apply(url => fetch(url, options))
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by