kind-hamburger-15227
08/05/2022, 12:17 AMimport pulumi
import pulumi_aws as aws
# Create an AWS provider for the us-east-1 region.
useast1 = aws.Provider("useast1", region="us-east-1")
# Create an ACM certificate in us-east-1.
cert = aws.acm.Certificate("cert",
domain_name="<http://foo.com|foo.com>",
validation_method="EMAIL",
__opts__=pulumi.ResourceOptions(provider=useast1))
Trying to create my own provider, but it fails with
File ~/.local/lib/python3.10/site-packages/pulumi/runtime/settings.py:202, in get_monitor()
200 monitor = SETTINGS.monitor
201 if not monitor:
--> 202 require_test_mode_enabled()
203 return monitor
File ~/.local/lib/python3.10/site-packages/pulumi/runtime/settings.py:147, in require_test_mode_enabled()
145 def require_test_mode_enabled():
146 if not is_test_mode_enabled():
--> 147 raise RunError(
148 "Program run without the Pulumi engine available; re-run using the `pulumi` CLI"
149 )
RunError: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
The purpose of the provide to set config pulumi config set aws:skipCredentialsValidation true
- I am trying to run flask api example for automation api: https://github.com/pulumi/automation-api-examples/blob/main/python/pulumi_over_http/app.py any hints? Original sample fails with
Diagnostics:
aws:s3:Bucket (s3-website-bucket):
error: 1 error occurred:
* error configuring Terraform AWS Provider: AWS account ID not previously found and failed retrieving via all available methods. See <https://www.terraform.io/docs/providers/aws/index.html#skip_requesting_account_id> for workaround and implications. Errors: 2 errors occurred: