agreeable-plastic-45345
10/07/2020, 6:20 PMbest-garden-6174
best-garden-6174
broad-oil-70745
10/07/2020, 6:28 PMfreezing-sunset-70754
10/07/2020, 7:54 PMbest-garden-6174
best-garden-6174
important-judge-76818
10/08/2020, 11:14 PMechoing-postman-88590
10/13/2020, 3:26 PMsteep-spoon-2023
10/15/2020, 8:38 AMbillions-branch-7264
10/17/2020, 7:42 PM....
nat_gateway = aws.ec2.NatGateway(
f"nat-gateway",
allocation_id=elastic_ip.allocation_id,
subnet_id=subnet.id,
opts=ResourceOptions(provider=provider),
)
other components (vpc, elastic ip, subnet and internet gateway) are successfully created except for the NAT Gateway with this error aws:ec2/natGateway:NatGateway resource 'nat-gateway' has a problem: Required attribute is not set
any ideas?agreeable-plastic-45345
10/17/2020, 10:59 PMechoing-postman-88590
10/24/2020, 3:47 PMpulumi preview
. For example in a VirtualMachine
resource with no admin_password
attribute and disable_password_authentication=False
I would expect that it will throw an error, but it did not. Thanksnarrow-area-20379
10/26/2020, 4:23 PMnarrow-area-20379
10/27/2020, 11:36 PMfaint-magazine-19896
10/28/2020, 5:59 PMfuture-kilobyte-50772
10/29/2020, 1:16 PMwonderful-pager-17869
11/03/2020, 2:17 PMtall-diamond-98142
11/10/2020, 5:21 AMtall-diamond-98142
11/10/2020, 5:23 AMtall-diamond-98142
11/10/2020, 5:24 AMtall-diamond-98142
11/10/2020, 5:24 AMearly-truck-24471
12/06/2020, 5:10 PMapp_instance = ec2.Instance(........)
ip=app_instance.private_ip
ptr_splitted = ipaddress.ip_address(ip).reverse_pointer.split('.')
ptr_splitted[0] + '.' + ptr_splitted[1]
the output I'm expecting is: 21.101
my problem is when I send this function the ec2 instance IP it send the pulumi.output.Output
object
I'm familiar with the Output.concat
function but in my case, I need to change the actual string and I didn't find any examples on how to do that.
I would appreciate your suggestions.future-kilobyte-50772
12/09/2020, 2:04 PMthankful-horse-76199
01/06/2021, 6:37 AMchilly-crayon-57653
best-garden-6174
narrow-monkey-73218
03/22/2023, 6:40 AMpulumi preview
, it tries to create the same resource. Do anyone happen to know the reason for this?clean-dusk-43198
10/07/2023, 2:10 PMDiagnostics:
18
pulumi:pulumi:Stack (smilingwords-gcp-management-prod):
19
warning: unable to detect a global setting for GCP Project;
20
Pulumi will rely on per-resource settings for this operation.
21
Set the GCP Project by using:
22
`pulumi config set gcp:project <project>`
23
warning: unable to detect a global setting for GCP Project;
24
Pulumi will rely on per-resource settings for this operation.
25
Set the GCP Project by using:
26
`pulumi config set gcp:project <project>`
27
error: Running program '/deployment/index.ts' failed with an unhandled exception:
28
[36m<ref *1>[39m Error: invocation of gcp:projects/getProject:getProject returned an error: invoking gcp:projects/getProject:getProject: 1 error occurred:
29
* Error retrieving projects: Get "<https://cloudresourcemanager.googleapis.com/v1/projects?alt=json&filter=name%3Asmw-bot+lifecycleState%3AACTIVE+labels.smw_bot%3Ay+labels.pulumi%3Ay>": oauth2/google: unable to generate access token: Post "<https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/smw-bot-serviceaccount@smw-bot-qowk5.iam.gserviceaccount.com:generateAccessToken>": oauth2/google: status code 400: {"error":"invalid_target","error_description":"The target service indicated by the \"audience\" parameters is invalid. This might either be because the pool or provider is disabled or deleted or because it doesn't exist."}
30
31
32
at Object.callback [90m(/deployment/[39mnode_modules/[4m@pulumi[24m/runtime/invoke.ts:172:37[90m)[39m
33
at Object.onReceiveStatus [90m(/deployment/[39mnode_modules/[4m@grpc[24m/grpc-js/src/client.ts:360:26[90m)[39m
34
at Object.onReceiveStatus [90m(/deployment/[39mnode_modules/[4m@grpc[24m/grpc-js/src/client-interceptors.ts:458:34[90m)[39m
35
at Object.onReceiveStatus [90m(/deployment/[39mnode_modules/[4m@grpc[24m/grpc-js/src/client-interceptors.ts:419:48[90m)[39m
36
at [90m/deployment/[39mnode_modules/[4m@grpc[24m/grpc-js/src/resolving-call.ts:132:24
37
[90m at processTicksAndRejections (node:internal/process/task_queues:77:11)[39m {
38
promise: Promise { [36m<rejected>[39m [36m[Circular *1][39m }
39
}
What is the issue or how it can be solved?
It would be very nice if someone would have the answer!
Please help 😕
Thanks in advance!elegant-kitchen-72176
03/14/2024, 12:55 AMpulumi up
even without changing anything, it always shows my VMs as requiring updates because of the difference in two fields:
~ vsphere:index/virtualMachine:VirtualMachine: (update)
[id=421f663c-3c31-234c-cd8a-3e87202fcdfd]
[urn=urn:pulumi:dev::pulumi-vsphere-iac::vsphere:index/virtualMachine:VirtualMachine::control-plane-1]
[provider=urn:pulumi:dev::pulumi-vsphere-iac::pulumi:providers:vsphere::default_4_10_0::a2ff08b0-fb2a-452e-8798-57f341043429]
+ eptRviMode: "automatic"
+ hvMode : "hvAuto"
I have tried removing, and explicitly adding these two fields but it's always like this.