magnificent-church-12152
04/29/2025, 6:42 PMmagnificent-church-12152
04/29/2025, 6:43 PMmagnificent-church-12152
04/29/2025, 6:43 PMgray-jewelry-75640
04/29/2025, 6:45 PMhttps://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExYngzdXRrYjBvZ2I0MDcwanp6Y3hhaG00dm9[…]pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3o85xL7vu8vJKh71BK/giphy.gif▾
gorgeous-pillow-13604
04/30/2025, 2:34 PMpulumi preview
that gives the same type of detail that you get when you call pulumi up
and then click details
? Or is there a way to call pulumi up
and then automatically click details
instead of up
(this is from a CI/CD server running the command)?straight-rose-51964
04/30/2025, 8:39 PMmagnificent-eve-41729
05/01/2025, 7:16 AMSide Note
Terraform has public modules for reusable with best practices
great-art-51943
05/01/2025, 6:00 PMstderr: Logging in using access token from PULUMI_ACCESS_TOKEN
error: [401] Unauthorized: No credentials provided or are invalid.
e.g. during Restore cache
great-art-51943
05/01/2025, 6:01 PMgreat-sunset-355
05/02/2025, 8:05 AMResources:
+ 2 created
~ 1 updated
3 changes. 168 unchanged
Duration: 1m36s
faint-pager-13674
05/02/2025, 9:59 AMcurved-xylophone-1783
05/02/2025, 10:51 AMerror: booting builder: context deadline exceeded
. Why does this happen and how to resolve this issue?famous-ambulance-44173
05/02/2025, 3:10 PMstraight-rose-51964
05/02/2025, 7:43 PMbitter-fountain-1754
05/05/2025, 12:42 PMplain-rainbow-89145
05/06/2025, 2:12 PMacoustic-tiger-77630
05/06/2025, 7:48 PMwarning: unable to convert HCL example for Pulumi entity '#/functions/%szpa:index/getPraConsoleController:getPraConsoleController'. The example will be dropped from any generated docs or SDKs: 1 error occurred:
* [python] #-functions-%szpa:index-getPraConsoleController:getPraConsoleController.pp:2,5-7: unsupported attribute 'id'; unsupported attribute 'id', and 1 other diagnostic(s)
warning: unable to convert HCL example for Pulumi entity '#/functions/%szpa:index/getAppConnectorController:getAppConnectorController'. The example will be dropped from any generated docs or SDKs: 1 error occurred:
* [python] #-functions-%szpa:index-getAppConnectorController:getAppConnectorController.pp:1,5-7: unknown property 'id' among [microtenantId microtenantName name]; , and 2 other diagnostic(s)
warning: unable to convert HCL example for Pulumi entity '#/functions/%szpa:index/getPRAApproval:getPRAApproval'. The example will be dropped from any generated docs or SDKs: 1 error occurred:
* [python] failed to convert HCL for #/functions/%szpa:index/getPRAApproval:getPRAApproval to python: #-functions-%szpa:index-getPRAApproval:getPRAApproval.pp:0,57-2,2: cannot assign expression of type { emailIds: string } to location of type {
emailIds: list(output(string) | string) | output(list(string)) | output(list(string)?)?,
id: output(string) | output(string?) | string?,
}
| output({ emailIds: list(string)?, id: string? }): ;
brash-stone-71192
05/07/2025, 9:23 AMbrash-stone-71192
05/07/2025, 9:35 AMpgFunction, err := postgresql.NewFunction(ctx, "pg-function-test", &postgresql.FunctionArgs{
Schema: pgSchema.Name,
Name: pulumi.String("pg_function_test"),
Args: postgresql.FunctionArgArray{
&postgresql.FunctionArgArgs{
Name: pulumi.String("pid"),
Type: pulumi.String("integer"),
},
},
Returns: pulumi.String("boolean"),
Language: pulumi.String("plpgsql"),
SecurityDefiner: pulumi.Bool(true),
Volatility: pulumi.String("VOLATILE"),
Strict: pulumi.Bool(true),
Body: pulumi.String(`AS $$
...
$$
SET search_path = pg_catalog;`),
}, pulumi.Provider(pgProvider))
bulky-oil-97030
05/08/2025, 8:15 AMmany-furniture-46304
05/08/2025, 8:28 AMUnless otherwise stated within the documentation of a specific resource, this provider's results are not sufficiently random for cryptographic use.
Looking at RandomString, the docs say for sensitive random values please use random_password.
However, there is no mention on RandomPassword about using it for uniques as a random value for password. Can anyone support whether it is safe to use Random Password
to create and manage passwords?
Thanks in advance!ancient-dream-54685
05/08/2025, 12:38 PM__my_output
?adamant-autumn-75882
05/08/2025, 6:33 PMadamant-autumn-75882
05/08/2025, 6:33 PMadamant-autumn-75882
05/08/2025, 6:53 PMfamous-ambulance-44173
05/08/2025, 8:58 PMsubnets:
- name: ext-az1
...
- name: ext-az2
...
attachments:
- name: tgw-attachment
# some parameters
- name: cwan-attachment
# some parameters
routeTables:
- name: private
routes:
- destination: 0.0.0.0/0
nextHop: igw
- destination: ::/0
nextHop: igw
- destination: 10.0.0.0/8
nextHop: tgw@tgw-attachment # or cwan@cwan-attachment
- destination: subnet@ext-az1.ipv4
nextHop: vpce-123456
- destination: subnet@ext-az1.ipv6
nextHop: vpce-123456
- destination: 10.1.0.0/24
nextHop: pcx@tag:Name=MyPeering,Environment=Prod
- destination: 10.2.0.0/24
nextHop: pcx@ssm:/my/peering/id
what do you think about the syntax? how would you improve it / make clearer for the user?sticky-translator-61903
05/08/2025, 9:50 PMbored-vegetable-38523
05/09/2025, 10:50 AMfamous-ambulance-44173
05/11/2025, 6:02 PMvgw = awscc.ec2.VpnGateway(
"vgw",
tags=VPC.build_tags(
config.common_tags,
config.virtual_private_gateway.tags,
Name=f"{config.name}-vgw",
),
amazon_side_asn=config.virtual_private_gateway.asn,
type="ipsec.1",
**config.virtual_private_gateway.extra_args,
opts=ResourceOptions(parent=self.vpc),
)
attachment = awscc.ec2.VpcGatewayAttachment(
"vgw",
opts=ResourceOptions(parent=vgw),
vpc_id=self.vpc.id,
vpn_gateway_id=vgw.id,
)
so far so good, resources are created successfully.
Then, I update ASN on VpnGateway, which should trigger replacement.
here is what diff shows:
└─ aws-native:ec2:Vpc vpc
+- ├─ aws-native:ec2:VpnGateway vgw replace [diff: ~amazonSideAsn]
~ │ ├─ aws-native:ec2:VpcGatewayAttachment vgw update [diff: ~vpnGatewayId]
which is correct. however, if fails
aws-native:ec2:VpnGateway (vgw):
error: operation DELETE failed with "GeneralServiceException": Vpn Gateway is not in the correct state (Service: Ec2, Status Code: 400, Request ID: 34ada6f3-5619-4a5e-8dda-6d82916501ff) (SDK Attempt Count: 1)
because it must delete VpcGatewayAttachment
first.
how do I signal to pulumi that before attempting to delete aws-native:ec2:VpnGateway
, it must delete its children, e.g. aws-native:ec2:VpcGatewayAttachment
?
I am pretty sure TF does it correctly.
I tried playing around with deleted_with
but I couldn't achieve the outcome I am looking for.rhythmic-toothbrush-3026
05/12/2025, 7:51 AMmaxSizeBytes: ' -1'
instead of just -1