some-engineer-72591
09/16/2025, 7:00 PM(CodeFragmentMetadata.cpp:53 instruction_extents_for_arm_address)
then when I kill the aws provider process, this is the dump it provides:
debug: assertion failed [arm_interval().contains(address)]: code fragment does not contain the given arm address
(CodeFragmentMetadata.cpp:53 instruction_extents_for_arm_address)
error: Detected that /Users/jamieburks/.pulumi/plugins/resource-aws-v6.66.2/pulumi-resource-aws exited prematurely.
This is *always* a bug in the provider. Please report the issue to the provider author as appropriate.
To assist with debugging we have dumped the STDOUT and STDERR streams of the plugin:assertion failed [arm_interval().contains(address)]: code fragment does not contain the given arm address
(CodeFragmentMetadata.cpp:53 instruction_extents_for_arm_address)
pulumi:providers:aws (default_6_66_2):
error: could not read plugin [/Users/jamieburks/.pulumi/plugins/resource-aws-v6.66.2/pulumi-resource-aws]: exit status -1
Pulumi is the arm64 version. The AWS provider is an x86 version. Could that be the source of this problem? I've tried different versions of the aws provider up to the latest 7.7.0 and haven't found one that works so far.echoing-dinner-19531
09/16/2025, 8:01 PMPulumi is the arm64 version. The AWS provider is an x86 version. Could that be the source of this problem?Yes We've seen issues like this with the Rosseta interpreter. You really want the arm64 version of the aws provider as well, pulumi should have downloaded that one for you so some funkyness has happened if you've only got the x64 versions.
some-engineer-72591
09/17/2025, 2:25 AMechoing-dinner-19531
09/17/2025, 7:29 AMpulumi about
show for the os and arch?some-engineer-72591
09/17/2025, 1:31 PMpulumi about
reports arm64. I've tried it running pulumi
directly and running it via poetry
. All report the same:some-engineer-72591
09/17/2025, 1:31 PMHost
OS darwin
Version 15.5
Arch arm64
some-engineer-72591
09/17/2025, 1:33 PM.pulumi/plugins
directory and letting it download fresh, and every time the plugin shows as x86:some-engineer-72591
09/17/2025, 1:33 PM$ file ~/.pulumi/plugins/resource-aws-v6.83.0/pulumi-resource-aws
/Users/jamieburks/.pulumi/plugins/resource-aws-v6.83.0/pulumi-resource-aws: Mach-O 64-bit executable x86_64
some-engineer-72591
09/17/2025, 1:34 PMpulumi about
output:some-engineer-72591
09/17/2025, 1:34 PMCLI
Version 3.196.0
Go Version go1.25.1
Go Compiler gc
Plugins
KIND NAME VERSION
resource aws 6.83.0
resource docker 3.6.1
resource grafana 0.2.0
language python 3.196.0
resource random 4.18.3
resource sentry 0.0.9
Host
OS darwin
Version 15.5
Arch arm64
This project is written in python: executable='/Users/jamieburks/Library/Caches/pypoetry/virtualenvs/kyc-persona-gateway-4TnDdXZC-py3.13/bin/python3' version='3.13.3'
Dependencies:
NAME VERSION
aws-lambda-powertools 2.43.1
duplo 0.19.90
moto 5.1.12
pulumiverse_sentry 0.0.9
pytest-asyncio 1.2.0
requests-mock 1.12.1
setuptools 80.9.0
Pulumi locates its logs in /var/folders/r1/yms8yfpn1j7_yvktrktfpln40000gn/T/ by default
warning: Could not access the backend: read ".pulumi/meta.yaml": blob (key ".pulumi/meta.yaml") (code=Unknown): SSOProviderInvalidToken: the SSO session has expired or is invalid
echoing-dinner-19531
09/17/2025, 1:45 PMpulumi install --logtostderr -v10
and send the logs to me at fraser@pulumi.com
See if there's anything in there about why you'd be getting x64 downloadsechoing-dinner-19531
09/17/2025, 1:45 PMsome-engineer-72591
09/17/2025, 2:07 PMerror: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try brew install
xyz, where xyz is the package you are trying to
install.
some-engineer-72591
09/17/2025, 2:12 PMsome-engineer-72591
09/17/2025, 2:13 PMsome-engineer-72591
09/17/2025, 2:13 PMsome-engineer-72591
09/17/2025, 2:17 PMechoing-dinner-19531
09/17/2025, 2:24 PMsome-engineer-72591
09/17/2025, 2:34 PM