sparse-intern-71089
08/08/2023, 6:10 PMsalmon-account-74572
08/08/2023, 7:19 PMname: blah-some-name
? That can sometimes cause this error. Pulumi does provide some auto-naming functionality that can help: https://www.pulumi.com/docs/concepts/resources/names/rich-pizza-78121
08/08/2023, 7:23 PMbucket = s3.Bucket("my-bucket-name")
# Export the name of the bucket
pulumi.export("bucket_name", bucket.id)
salmon-account-74572
08/08/2023, 7:25 PMrich-pizza-78121
08/08/2023, 7:27 PMimport pulumi
from pulumi_aws import s3
def create():
# Create an AWS resource (S3 Bucket)
bucket = s3.Bucket("my-bucket-name")
# Export the name of the bucket
pulumi.export("bucket_name", bucket.id)
create()
salmon-account-74572
08/08/2023, 7:29 PMsalmon-account-74572
08/08/2023, 7:29 PMrich-pizza-78121
08/08/2023, 7:30 PMrich-pizza-78121
08/08/2023, 7:31 PMsalmon-account-74572
08/08/2023, 7:34 PMrequirements.txt
file?rich-pizza-78121
08/08/2023, 7:35 PMpulumi>=3.0.0,<4.0.0
pulumi-aws>=5.0.0,<6.0.0
rich-pizza-78121
08/08/2023, 7:36 PMsalmon-account-74572
08/08/2023, 7:37 PMpulumi new aws-python
command that you used from the guide. I can’t reproduce the same behavior (CLI version 3.76.1 with Python 3.11.4 on macOS 13.4.1). What state backend are you using? You can use pulumi whoami -v
for details.rich-pizza-78121
08/08/2023, 7:38 PMsalmon-account-74572
08/08/2023, 7:39 PMrich-pizza-78121
08/08/2023, 7:41 PMrich-pizza-78121
08/08/2023, 7:42 PMsalmon-account-74572
08/08/2023, 7:43 PMsalmon-account-74572
08/08/2023, 7:43 PMrich-pizza-78121
08/08/2023, 7:43 PMrich-pizza-78121
08/08/2023, 7:44 PMsalmon-account-74572
08/08/2023, 7:44 PMrich-pizza-78121
08/08/2023, 7:45 PMsalmon-account-74572
08/08/2023, 7:46 PMpulumi plugin ls
and tell me what version(s) of the AWS provider are present on your system?rich-pizza-78121
08/08/2023, 7:46 PMsalmon-account-74572
08/08/2023, 7:50 PMrich-pizza-78121
08/08/2023, 7:50 PMsalmon-account-74572
08/08/2023, 7:52 PMechoing-dinner-19531
08/08/2023, 8:25 PMsalmon-account-74572
08/08/2023, 8:34 PMrich-pizza-78121
08/08/2023, 8:35 PMsalmon-account-74572
08/08/2023, 8:36 PMrich-pizza-78121
08/09/2023, 2:35 PMechoing-dinner-19531
08/09/2023, 2:44 PMechoing-dinner-19531
08/09/2023, 2:45 PMPulumi supports writing your infrastructure as code in the Python language running on any supported version.
Install Python version 3.7 or later.That first link is correct, 3.7 is end-of-life and no longer supported. The second link that actual has the version number saying install 3.7 is wrong.
salmon-account-74572
08/09/2023, 4:35 PMnumerous-train-50906
10/05/2023, 5:41 PMechoing-dinner-19531
10/05/2023, 7:00 PM