adamant-father-26302
01/31/2023, 1:30 PMpulumi up --refresh
now it tries to change the following:
serverlessv2ScalingConfiguration: {
maxCapacity: 16 => 0
minCapacity: 2 => 0
}
instanceClass : "db.serverless" => "db.t3.medium"
the update succeeds fine, the instancesclass isnt serverless and havent been for a long time, but its annoying that it reports drift every time.
How can I fix this?prehistoric-sandwich-7272
01/31/2023, 4:25 PMadamant-father-26302
01/31/2023, 5:25 PMrefined-printer-32244
01/31/2023, 6:41 PMfierce-ability-58936
01/31/2023, 7:07 PMcuddly-continent-74226
01/31/2023, 8:38 PM@pulumi/awsx@1.0.1
, but for some reason when deploying an update to their container Pulumi decides to deploy the change to each service one after the other rather than in parallel, so a deployment takes 3x as long as it otherwise might.
There’s no dependency between the services AFAICT. Is there any way to avoid it doing this, or to figure out why it’s deciding not to parallelise these updates? Thanks!stocky-jelly-20386
02/01/2023, 12:04 AMstocky-jelly-20386
02/01/2023, 12:05 AMflaky-arm-38472
02/01/2023, 2:26 AMwet-fall-57893
02/01/2023, 3:18 AMcuddly-smartphone-15267
02/01/2023, 6:58 AMmany-article-99388
02/01/2023, 10:50 AMblue-pharmacist-31672
02/01/2023, 11:35 AMsparse-architect-77996
02/01/2023, 11:57 AMerror: --yes or --skip-preview must be passed in to proceed when running in non-interactive mode
Does anyone have an idea?broad-house-79544
02/01/2023, 2:34 PMcreamy-monkey-35142
02/01/2023, 4:05 PMwonderful-rose-79782
02/01/2023, 5:46 PMrefined-quill-24998
02/01/2023, 9:53 PMCREATE TABLE `t_temp_table_iceberg`
(
`col1` string,
`col2` double,
`col3` string,
`col4` BOOLEAN,
`col5` BOOLEAN
)
PARTITIONED BY(
col1,
col2
)
LOCATION '<s3://bucket-name/iceberg_location/>'
TBLPROPERTIES (
'table_type'='ICEBERG',
'format'='parquet'
)
Tried to deploy the same in pulumi but the table is created with wrong format similar like Hive table with partitions and not able to access in Athena( Not an issue with permissions verified). Can anyone help me with it.
t_temp_table_iceberg = aws.glue.CatalogTable(
resource_name="t_temp_table_iceberg",
name="t_temp_table_iceberg",
database_name=self.glue_catalog_iceberg_catalog_db.name,
parameters={
"table_type": 'ICEBERG',
"format": "parquet"
},
storage_descriptor=aws.glue.CatalogTableStorageDescriptorArgs(
columns=[
aws.glue.CatalogTableStorageDescriptorColumnArgs(
name="col1",
type="string",
),
aws.glue.CatalogTableStorageDescriptorColumnArgs(
name="col2",
type="double",
),
aws.glue.CatalogTableStorageDescriptorColumnArgs(
comment="",
name="col3",
type="String",
),
aws.glue.CatalogTableStorageDescriptorColumnArgs(
comment="",
name="col4",
type="Boolean",
),
aws.glue.CatalogTableStorageDescriptorColumnArgs(
comment="",
name="col5",
type="Boolean",
),
aws.glue.CatalogTableStorageDescriptorColumnArgs(
comment="",
name="Substituted",
type="Boolean",
), ],
location=f"s3://{self.curated_bucket_name}/iceberg_location/",
),
partition_keys=[
aws.glue.CatalogTablePartitionKeyArgs(
name="col1",
type="",
comment="",
),
aws.glue.CatalogTablePartitionKeyArgs(
name="col2",
type="",
comment="",
)
],
)
stale-state-55213
02/02/2023, 1:33 AMgentle-parrot-38349
02/02/2023, 11:35 AMfresh-summer-65887
02/02/2023, 5:10 PMMessages and files older than 90 days are hidden
I'd like to suggest moving this community to discord. It's more suited to communities too.alert-laptop-81342
02/02/2023, 6:56 PM"""An AWS Python Pulumi program"""
import pulumi
import pulumi_aws as aws
stack = pulumi.get_stack()
config = pulumi.Config()
Pulumi.yaml:
name: aws
description: kms configuration
runtime:
name: python
options:
virtualenv: env
Pulumi.dev-kms.yaml:
config:
aws:region: us-east-1
When I run the code only the configuration from Pulumi.yaml goes to config. How can I "fix" this? What I am doing wrong?
Appreciate your attention.rough-oxygen-77390
02/02/2023, 8:13 PMstrong-helmet-83704
02/02/2023, 8:47 PMpulumi logs
command? This seems really cool and useful but every time i go to use it i get error: failed to get logs:
* no AWS region found
adorable-account-44450
02/02/2023, 9:16 PMlate-petabyte-3251
02/03/2023, 12:33 AMwet-sunset-4939
02/03/2023, 10:34 AMerror: could not load plugin for random provider 'urn:pulumi:sg-dev::Az-Trans-AKS::pulumi:providers:random::default_4_9_0': Could not automatically download and install resource plugin 'pulumi-resource-random' at version v4.9.0, install the plugin using `pulumi plugin install resource random v4.9.0`.
Underlying error: error downloading plugin random to file: failed to download plugin: random-4.9.0: 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-random-v4.9.0-linux-amd64.tar.gz>
polite-summer-58169
02/03/2023, 12:32 PMmodern-evening-83482
02/03/2023, 7:07 PMicy-machine-99764
02/03/2023, 7:39 PM