-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9668009
commit a096423
Showing
8 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Configuring the Target API Version | ||
|
||
The `api_version` can be set on the provider configuration like so: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Configuring the Target API Version | ||
|
||
The `api_version` can be set on the provider block like so: |
14 changes: 14 additions & 0 deletions
14
pkg/tfgen/test_data/rewrite-providers-tf-to-pulumi-yaml/expected.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Using Configuration Files | ||
|
||
Configuration files can be used to specify Linode client configuration options across various Linode integrations. | ||
|
||
For example: | ||
|
||
`~/.config/linode` | ||
|
||
```ini | ||
[default] | ||
token = mylinodetoken | ||
``` | ||
|
||
`Pulumi.yaml` |
14 changes: 14 additions & 0 deletions
14
pkg/tfgen/test_data/rewrite-providers-tf-to-pulumi-yaml/input.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Using Configuration Files | ||
|
||
Configuration files can be used to specify Linode client configuration options across various Linode integrations. | ||
|
||
For example: | ||
|
||
`~/.config/linode` | ||
|
||
```ini | ||
[default] | ||
token = mylinodetoken | ||
``` | ||
|
||
`providers.tf` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Note: Fully qualified `secret_name` ARN as input is REQUIRED for cross-AWS account secrets. For more detatils see: | ||
* https://aws.amazon.com/blogs/security/how-to-access-secrets-across-aws-accounts-by-attaching-resource-based-policies/ | ||
* https://aws.amazon.com/premiumsupport/knowledge-center/secrets-manager-share-between-accounts/ | ||
|
||
Note: `sts_endpoint` parameter is REQUIRED for cross-AWS region or cross-AWS account secrets. | ||
|
||
In terminal, `pulumi up` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Note: Fully qualified `secret_name` ARN as input is REQUIRED for cross-AWS account secrets. For more detatils see: | ||
* https://aws.amazon.com/blogs/security/how-to-access-secrets-across-aws-accounts-by-attaching-resource-based-policies/ | ||
* https://aws.amazon.com/premiumsupport/knowledge-center/secrets-manager-share-between-accounts/ | ||
|
||
Note: `sts_endpoint` parameter is REQUIRED for cross-AWS region or cross-AWS account secrets. | ||
|
||
In terminal, `terraform init` |