Hey! :wave: I'm getting a bit of a weird warning w...
# golang
q
Hey! 👋 I'm getting a bit of a weird warning when updating an AWS OpenSearch domain..
Copy code
❯ pulumi up
Previewing update (prod):



     Type                          Name                       Plan       Info
     pulumi:pulumi:Stack           datahub-prod
     └─ datahub:opensearch:Domain  datahub-domain
 ~      └─ aws:opensearch:Domain   datahub-opensearch-domain  update     [diff: ~clusterConfig,ebsOptions]; 2 warnings

Diagnostics:
  aws:opensearch:Domain (datahub-opensearch-domain):
    warning:    customdiff/force_new.go:32: sdk.helper_schema: unable to require attribute replacement: provider=aws@v6.19.0 tf_attribute_path=engine_version error="ForceNew: No changes for engine_version"
    warning:    customdiff/force_new.go:32: sdk.helper_schema: unable to require attribute replacement: provider=aws@v6.19.0 error="ForceNew: No changes for engine_version" tf_attribute_path=engine_version
It feels like these are low-level details that possibly should be displayed in a friendlier way? NOTE: I'm posting here, as the warning seems to be Go-specific, but let me know if I should take it elsewhere!
Also, Pulumi finished before the update was actually fully applied:
Copy code
Resources:
    ~ 1 updated
    25 unchanged

Duration: 9m32s
..vs. 80% done when examining the AWS console, as it's still deleting old resources.
s
..vs. 80% done when examining the AWS console, as it's still deleting old resources.
My 2 cents: I noticed this timing difference with other providers; to me the explanation is that the API used by Pulumi is not the API used by the cloud provider web app; disconcerting at first, but after a while it seemed a reasonable explanation (I would expect the same happening if using Terraform...)