-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollout improved example converter #640
Conversation
Does the PR have any schema changes?Looking good! No breaking changes found. Maintainer note: consult the runbook for dealing with any breaking changes. |
Is README.md missing any configuration options?
Please add a description for each of these options to |
This one has quite a few new examples but has also lost some. |
// _, err = github.NewActionsOrganizationSecret(ctx, "exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", &github.ActionsOrganizationSecretArgs{ | ||
// SecretName: pulumi.String("example_secret_name"), | ||
// Visibility: pulumi.String("private"), | ||
// EncryptedValue: pulumi.Any(_var.Some_encrypted_secret_string), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suspect it fell out because of undefined _var.Some_encrypted_secret_string - checking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm
{
"ExampleName": "#/resources/github:index/actionsOrganizationSecret:ActionsOrganizationSecret",
"OriginalHCL": "resource \"github_actions_organization_secret\" \"example_secret\" {\n secret_name = \"example_secret_name\"\n visibility = \"private\"\n plaintext_value = var.some_secret_string\n}\n\nresource \"github_actions_organization_secret\" \"example_secret\" {\n secret_name = \"example_secret_name\"\n visibility = \"private\"\n encrypted_value = var.some_encrypted_secret_string\n}\n",
"ConversionResults": {
"csharp": {
"FailureSeverity": 2,
"FailureInfo": "Duplicate resource \"github_actions_organization_secret\" configuration: A github_actions_organization_secret resource named \"example_secret\" was already declared at /e27.tf:1,1-63. Resource names must be unique per type in each module.",
"Program": "",
"TranslationCount": 1
},
"go": {
"FailureSeverity": 2,
"FailureInfo": "Duplicate resource \"github_actions_organization_secret\" configuration: A github_actions_organization_secret resource named \"example_secret\" was already declared at /e27.tf:1,1-63. Resource names must be unique per type in each module.",
"Program": "",
"TranslationCount": 1
},
"java": {
"FailureSeverity": 2,
"FailureInfo": "Duplicate resource \"github_actions_organization_secret\" configuration: A github_actions_organization_secret resource named \"example_secret\" was already declared at /e27.tf:1,1-63. Resource names must be unique per type in each module.",
"Program": "",
"TranslationCount": 1
},
"python": {
"FailureSeverity": 2,
"FailureInfo": "Duplicate resource \"github_actions_organization_secret\" configuration: A github_actions_organization_secret resource named \"example_secret\" was already declared at /e27.tf:1,1-63. Resource names must be unique per type in each module.",
"Program": "",
"TranslationCount": 1
},
"typescript": {
"FailureSeverity": 2,
"FailureInfo": "Duplicate resource \"github_actions_organization_secret\" configuration: A github_actions_organization_secret resource named \"example_secret\" was already declared at /e27.tf:1,1-63. Resource names must be unique per type in each module.",
"Program": "",
"TranslationCount": 1
},
"yaml": {
"FailureSeverity": 2,
"FailureInfo": "Duplicate resource \"github_actions_organization_secret\" configuration: A github_actions_organization_secret resource named \"example_secret\" was already declared at /e27.tf:1,1-63. Resource names must be unique per type in each module.",
"Program": "",
"TranslationCount": 1
}
}
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Rolls out improved TF example converter.