stocky-cpu-49438
01/06/2025, 9:39 PMcontainerservice.ManagedCluster
, we would like to retrieve the generated default security group for the agent pools, and apply a more stringent set of traffic rules. I tried to use network.LookupNetworkSecurityGroup
to do so, but there doesn't seem to have a way to resolve a pulumi.StringOutput
managedCluster.nodeSecurityGroup
promises back to a string within subsequent codes in the same custom module. If this is not possible, what are the recommended mechanism to achieve what we wanted to do? (create a resource then modify some of the azure generated / created properties within the same stack)
network.LookupNetworkSecurityGroup(
ctx, &network.LookupNetworkSecurityGroupArgs{
ResourceGroupName: <- this parameter requires a concrete string type,
},
stocky-cpu-49438
01/06/2025, 9:48 PMlittle-cartoon-10569
01/06/2025, 9:54 PM