sparse-intern-71089
06/28/2020, 11:35 PMlittle-cartoon-10569
06/29/2020, 12:59 AMgetDirectory
function was a good start. This is passing tests:
const dnsIpAddresses = this.ad.id.apply(async (directoryId) => {
const result = await aws.directoryservice.getDirectory({ directoryId: directoryId }, { async: true });
return result.dnsIpAddresses;
});
(It's not deployed yet, so I might be back later for more help 🙂 )little-cartoon-10569
06/29/2020, 1:00 AMaws.directoryservice.Directory
object would be handy..gentle-diamond-70147
06/29/2020, 6:42 PMdnsIpAddresses
is an output of aws.directoryservice.Directory
- https://www.pulumi.com/docs/reference/pkg/aws/directoryservice/directory/#dnsipaddresses_nodejs.
You should be able to export/output this directly or use this as an input to other resources. So you should not need to use getDirectory
after the fact. Is this not working for you?little-cartoon-10569
07/02/2020, 2:55 AMdomainNameServers
, ntpServers
and netbiosNameServers
input args, they're not there when I break in setMocks
with type = "awsec2/vpcDhcpOptionsVpcDhcpOptions". The other args fields are there, like netbiosNodeType
, but the 3 servers fields are gone.little-cartoon-10569
07/02/2020, 2:58 AMlittle-cartoon-10569
07/02/2020, 4:33 AMlittle-cartoon-10569
07/02/2020, 4:34 AMlittle-cartoon-10569
07/03/2020, 2:19 AM