-
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.
Add replacement rules for installation docs (#2460)
This pull request adds two new default edit rules to the postCodeTranslation edit rules: - Replace D/data source with F/function - Account for back ticks when `provider` block appears as such. Test cases were added and a previous test case had to be adjusted. These changes are seen in the wild at pulumi/pulumi-scm#101.
- Loading branch information
Showing
7 changed files
with
70 additions
and
3 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,9 @@ | ||
The `scm` provider provides resources and functions to manage and query Strata Cloud Manager. | ||
|
||
This provider covers the following aspects of Strata Cloud Manager: | ||
* Unified Networking Security | ||
|
||
It also translates a singular function. | ||
|
||
## Functions | ||
|
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,9 @@ | ||
The `scm` provider provides resources and data sources to manage and query Strata Cloud Manager. | ||
|
||
This provider covers the following aspects of Strata Cloud Manager: | ||
* Unified Networking Security | ||
|
||
It also translates a singular data source. | ||
|
||
## Data Sources | ||
|
7 changes: 7 additions & 0 deletions
7
pkg/tfgen/test_data/replace-provider-block/expected-backtick.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,7 @@ | ||
## Provider Parameter Priority | ||
|
||
There are multiple ways to specify the provider's parameters. If overlapping values are configured for the provider, then this is the resolution order: | ||
|
||
1. Statically configured in the provider configuration | ||
2. Environment variable (where applicable) | ||
3. Taken from the JSON config file |
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 @@ | ||
## Provider Parameter Priority | ||
|
||
There are multiple ways to specify the provider's parameters. If overlapping values are configured for the provider, then this is the resolution order: | ||
|
||
1. Statically configured in the `provider` block | ||
2. Environment variable (where applicable) | ||
3. Taken from the JSON config file |
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