Skip to content

Commit

Permalink
fix: Correct Python example syntax in Config documentation (#13798)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xThresh authored Jan 13, 2025
1 parent 354934b commit c5fe998
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/docs/iac/concepts/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ let secret = config.requireSecret("secret");
{{% choosable language python %}}

```python
config = pulumi.Config();
name = config.require('name');
config = pulumi.Config()
name = config.require('name')
lucky = config.get_int('lucky') or 42
secret = config.require_secret('secret')
```
Expand Down Expand Up @@ -222,8 +222,8 @@ let awsRegion = awsConfig.require("region");
{{% choosable language python %}}

```python
aws_config = pulumi.Config("aws");
aws_region = aws_config.require("region");
aws_config = pulumi.Config("aws")
aws_region = aws_config.require("region")
```

{{% /choosable %}}
Expand Down

0 comments on commit c5fe998

Please sign in to comment.