Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert examples with
pulumi convert
(#1377)
# Stats Baseline 1441 API locations with examples Provider: azurerm Success rate: 96.39% (8779/9108) Converted 96.11% of csharp examples (1459/1518) Converted 96.11% of go examples (1459/1518) Converted 98.16% of java examples (1490/1518) Converted 96.11% of python examples (1459/1518) Converted 96.11% of typescript examples (1459/1518) Converted 95.72% of yaml examples (1453/1518) Experimental 1441 API locations with examples Provider: azurerm Success rate: 98.30% (8999/9155) Converted 98.04% of csharp examples (1500/1530) Converted 98.04% of go examples (1500/1530) Converted 98.30% of java examples (1504/1530) Converted 98.04% of python examples (1500/1530) Converted 98.04% of typescript examples (1500/1530) Converted 99.34% of yaml examples (1495/1505) # Newly Failing Example started failing: #/resources/azure:automation/runBook:RunBook#1 typescript 0 csharp 0 go 0 java 2 not yet implemented: call notImplemented; Terraform input not yet implemented: path python 0 Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/aofStorageConnectionString1 java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/aofStorageConnectionString1 csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/aofStorageConnectionString1 java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/aofStorageConnectionString1 go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/aofStorageConnectionString1 csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/aofStorageConnectionString1 python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/notifyKeyspaceEvents csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/notifyKeyspaceEvents csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/notifyKeyspaceEvents typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/notifyKeyspaceEvents python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/notifyKeyspaceEvents typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/notifyKeyspaceEvents python 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. typescript 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. yaml 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. csharp 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. go 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. java 2 Unsupported block type: Blocks of type "redis_configuration" are not expected here. Example started failing: #/resources/azure:mssql/serverExtendedAuditingPolicy:ServerExtendedAuditingPolicy#2 go 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. java 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. csharp 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. Example started failing: #/resources/azure:mssql/serverExtendedAuditingPolicy:ServerExtendedAuditingPolicy#2 java 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. csharp 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. Example started failing: #/resources/azure:mssql/serverExtendedAuditingPolicy:ServerExtendedAuditingPolicy#2 csharp 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. java 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. Example started failing: #/resources/azure:mssql/serverExtendedAuditingPolicy:ServerExtendedAuditingPolicy#2 java 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. csharp 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. Example started failing: #/resources/azure:mssql/serverExtendedAuditingPolicy:ServerExtendedAuditingPolicy#2 go 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. java 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. csharp 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. Example started failing: #/resources/azure:mssql/serverExtendedAuditingPolicy:ServerExtendedAuditingPolicy#2 csharp 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. java 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. Example started failing: #/resources/azure:datafactory/linkedServiceAzureBlobStorage:LinkedServiceAzureBlobStorage#1 java 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. csharp 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. Example started failing: #/resources/azure:datafactory/linkedServiceAzureBlobStorage:LinkedServiceAzureBlobStorage#1 csharp 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. java 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. Example started failing: #/resources/azure:datafactory/linkedServiceAzureBlobStorage:LinkedServiceAzureBlobStorage#1 java 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. csharp 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. Example started failing: #/resources/azure:datafactory/linkedServiceAzureBlobStorage:LinkedServiceAzureBlobStorage#1 java 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. csharp 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. Example started failing: #/resources/azure:datafactory/linkedServiceAzureBlobStorage:LinkedServiceAzureBlobStorage#1 csharp 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. java 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. Example started failing: #/resources/azure:datafactory/linkedServiceAzureBlobStorage:LinkedServiceAzureBlobStorage#1 csharp 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. go 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. java 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. python 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. typescript 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. yaml 2 Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. # Error 1 30 examples failed with the following error: ``` Argument or block definition required: An argument or block definition is required here. ``` Failures include converting the "#/types/azure:compute/VirtualMachineOsProfileSecretVaultCertificate:VirtualMachineOsProfileSecretVaultCertificate/certificateUrl" example with the following HCL to yaml, csharp, go, java, python, typescript: ``` { "data":"<Base64-encoded-certificate>", "dataType":"pfx", "password":"<pfx-file-password>" } ``` # Error 2 12 examples failed with the following error: ``` Unsupported block type: Blocks of type "redis_configuration" are not expected here. ``` Failures include converting the "#/types/azure:redis/CacheRedisConfiguration:CacheRedisConfiguration/aofStorageConnectionString1" example with the following HCL to csharp, go, java, python, typescript, yaml: ``` redis_configuration { aof_backup_enabled = true aof_storage_connection_string_0 = "DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.nc-cruks-storage-account.primary_blob_endpoint};AccountName=${azurerm_storage_account.mystorageaccount.name};AccountKey=${azurerm_storage_account.mystorageaccount.primary_access_key}" aof_storage_connection_string_1 = "DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.mystorageaccount.primary_blob_endpoint};AccountName=${azurerm_storage_account.mystorageaccount.name};AccountKey=${azurerm_storage_account.mystorageaccount.secondary_access_key}" } ``` # Error 3 6 examples failed with the following error: ``` not yet implemented: call notImplemented; Function not yet implemented: Function jsondecode not yet implemented ``` Failures include converting the "#/functions/azure:automation/getVariableObject:getVariableObject" example with the following HCL to java: ``` data "azurerm_automation_variable_object" "example" { name = "tfex-example-var" resource_group_name = "tfex-example-rg" automation_account_name = "tfex-example-account" } output "variable" { value = jsondecode(data.azurerm_automation_variable_object.example.value) } ``` # Error 4 6 examples failed with the following error: ``` Duplicate resource "azurerm_mssql_server_extended_auditing_policy" configuration: A azurerm_mssql_server_extended_auditing_policy resource named "example" was already declared at /e1219.tf:19,1-67. Resource names must be unique per type in each module. ``` Failures include converting the "#/resources/azure:mssql/serverExtendedAuditingPolicy:ServerExtendedAuditingPolicy#2" example with the following HCL to java, python, typescript, yaml, csharp, go: ``` provider "azurerm" { features {} } resource "azurerm_resource_group" "example" { name = "example-resources" location = "West Europe" } resource "azurerm_mssql_server" "example" { name = "example-sqlserver" resource_group_name = azurerm_resource_group.example.name location = azurerm_resource_group.example.location version = "12.0" administrator_login = "missadministrator" administrator_login_password = "AdminPassword123!" } resource "azurerm_mssql_server_extended_auditing_policy" "example" { server_id = azurerm_mssql_server.example.id storage_endpoint = azurerm_storage_account.example.primary_blob_endpoint storage_account_access_key = azurerm_storage_account.example.primary_access_key storage_account_access_key_is_secondary = false retention_in_days = 6 } resource "azurerm_log_analytics_workspace" "example" { name = "example-workspace" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name sku = "PerGB2018" retention_in_days = 30 } resource "azurerm_eventhub_namespace" "example" { name = "example-eventhub-namespace" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name sku = "Standard" } resource "azurerm_eventhub" "example" { name = "example-eventhub" namespace_name = azurerm_eventhub_namespace.example.name resource_group_name = azurerm_resource_group.example.name partition_count = 2 message_retention = 1 } resource "azurerm_eventhub_namespace_authorization_rule" "example" { name = "example-eventhub-auth-rule" namespace_name = azurerm_eventhub_namespace.example.name resource_group_name = azurerm_resource_group.example.name listen = true send = true manage = true } resource "azurerm_mssql_server_extended_auditing_policy" "example" { server_id = azurerm_mssql_server.example.id log_monitoring_enabled = true } resource "azurerm_monitor_diagnostic_setting" "example" { name = "example-diagnotic-setting" target_resource_id = "${azurerm_mssql_server.example.id}/databases/master" eventhub_authorization_rule_id = azurerm_eventhub_namespace_authorization_rule.example.id eventhub_name = azurerm_eventhub.example.name log_analytics_workspace_id = azurerm_log_analytics_workspace.example.id log { category = "SQLSecurityAuditEvents" enabled = true retention_policy { enabled = false } } metric { category = "AllMetrics" retention_policy { enabled = false } } } ``` # Error 5 6 examples failed with the following error: ``` Duplicate resource "azurerm_data_factory_linked_service_azure_blob_storage" configuration: A azurerm_data_factory_linked_service_azure_blob_storage resource named "test" was already declared at /e579.tf:29,1-73. Resource names must be unique per type in each module. ``` Failures include converting the "#/resources/azure:datafactory/linkedServiceAzureBlobStorage:LinkedServiceAzureBlobStorage#1" example with the following HCL to go, java, python, typescript, yaml, csharp: ``` resource "azurerm_resource_group" "example" { name = "example-resources" location = "West Europe" } data "azurerm_client_config" "current" { } resource "azurerm_data_factory" "test" { name = "example" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name } resource "azurerm_key_vault" "test" { name = "example" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name tenant_id = data.azurerm_client_config.current.tenant_id sku_name = "standard" } resource "azurerm_data_factory_linked_service_key_vault" "test" { name = "linkkv" data_factory_id = azurerm_data_factory.test.id key_vault_id = azurerm_key_vault.test.id } resource "azurerm_data_factory_linked_service_azure_blob_storage" "test" { name = "example" data_factory_id = azurerm_data_factory.test.id sas_uri = "https://example.blob.core.windows.net" key_vault_sas_token { linked_service_name = azurerm_data_factory_linked_service_key_vault.test.name secret_name = "secret" } } resource "azurerm_data_factory_linked_service_azure_blob_storage" "test" { name = "example" data_factory_id = azurerm_data_factory.test.id service_endpoint = "https://example.blob.core.windows.net" service_principal_id = "00000000-0000-0000-0000-000000000000" tenant_id = "00000000-0000-0000-0000-000000000000" service_principal_linked_key_vault_key { linked_service_name = azurerm_data_factory_linked_service_key_vault.test.name secret_name = "secret" } } ``` # Error 6 6 examples failed with the following error: ``` Duplicate data "azurerm_resources" configuration: A azurerm_resources data resource named "example" was already declared at /e1203.tf:2,1-35. Resource names must be unique per type in each module. ``` Failures include converting the "#/functions/azure:core/getResources:getResources" example with the following HCL to typescript, yaml, csharp, go, java, python: ``` # Get Resources from a Resource Group data "azurerm_resources" "example" { resource_group_name = "example-resources" } # Get Resources with specific Tags data "azurerm_resources" "example" { resource_group_name = "example-resources" required_tags = { environment = "production" role = "webserver" } } # Get resources by type, create spoke vNet peerings data "azurerm_resources" "spokes" { type = "Microsoft.Network/virtualNetworks" required_tags = { environment = "production" role = "spokeNetwork" } } resource "azurerm_virtual_network_peering" "spoke_peers" { count = length(data.azurerm_resources.spokes.resources) name = "hub2${data.azurerm_resources.spokes.resources[count.index].name}" resource_group_name = azurerm_resource_group.hub.name virtual_network_name = azurerm_virtual_network.hub.name remote_virtual_network_id = data.azurerm_resources.spokes.resources[count.index].id } ``` # Error 7 4 examples failed with the following error: ``` unsupported attribute 'resourceGroupName'; unknown property 'resourceGroupName' among [loadbalancerId name tunnelInterfaces virtualNetworkId] ``` Failures include converting the "#/resources/azure:lb/natRule:NatRule" example with the following HCL to go, python, typescript, csharp: ``` resource "azurerm_resource_group" "example" { name = "LoadBalancerRG" location = "West Europe" } resource "azurerm_public_ip" "example" { name = "PublicIPForLB" location = "West US" resource_group_name = azurerm_resource_group.example.name allocation_method = "Static" } resource "azurerm_lb" "example" { name = "TestLoadBalancer" location = "West US" resource_group_name = azurerm_resource_group.example.name frontend_ip_configuration { name = "PublicIPAddress" public_ip_address_id = azurerm_public_ip.example.id } } resource "azurerm_lb_backend_address_pool" "example" { resource_group_name = azurerm_resource_group.example.name loadbalancer_id = azurerm_lb.example.id name = "be" } resource "azurerm_lb_nat_rule" "example" { resource_group_name = azurerm_resource_group.example.name loadbalancer_id = azurerm_lb.example.id name = "RDPAccess" protocol = "Tcp" frontend_port = 3389 backend_port = 3389 frontend_ip_configuration_name = "PublicIPAddress" } resource "azurerm_lb_nat_rule" "example1" { resource_group_name = azurerm_resource_group.example.name loadbalancer_id = azurerm_lb.example.id name = "RDPAccess" protocol = "Tcp" frontend_port_start = 3000 frontend_port_end = 3389 backend_port = 3389 backend_address_pool_id = azurerm_lb_backend_address_pool.example.id frontend_ip_configuration_name = "PublicIPAddress" } ``` # Error 8 3 examples failed with the following error: ``` unsupported attribute 'encryption'; unknown property 'encryption' among [encryptionKey netappAccountId systemAssignedIdentityPrincipalId userAssignedIdentityId] ``` Failures include converting the "#/resources/azure:netapp/accountEncryption:AccountEncryption" example with the following HCL to csharp, go, typescript: ``` resource "azurerm_resource_group" "example" { name = "example-resources" location = "West Europe" } data "azurerm_client_config" "current" { } resource "azurerm_user_assigned_identity" "example" { name = "anf-user-assigned-identity" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name } resource "azurerm_key_vault" "example" { name = "anfcmkakv" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name enabled_for_disk_encryption = true enabled_for_deployment = true enabled_for_template_deployment = true purge_protection_enabled = true tenant_id = "00000000-0000-0000-0000-000000000000" sku_name = "standard" access_policy { tenant_id = "00000000-0000-0000-0000-000000000000" object_id = data.azurerm_client_config.current.object_id key_permissions = [ "Get", "Create", "Delete", "WrapKey", "UnwrapKey", "GetRotationPolicy", "SetRotationPolicy", ] } access_policy { tenant_id = "00000000-0000-0000-0000-000000000000" object_id = azurerm_user_assigned_identity.example.principal_id key_permissions = [ "Get", "Encrypt", "Decrypt" ] } } resource "azurerm_key_vault_key" "example" { name = "anfencryptionkey" key_vault_id = azurerm_key_vault.example.id key_type = "RSA" key_size = 2048 key_opts = [ "decrypt", "encrypt", "sign", "unwrapKey", "verify", "wrapKey", ] } resource "azurerm_netapp_account" "example" { name = "netappaccount" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name identity { type = "UserAssigned" identity_ids = [ azurerm_user_assigned_identity.example.id ] } } resource "azurerm_netapp_account_encryption" "example" { netapp_account_id = azurerm_netapp_account.example.id user_assigned_identity_id = azurerm_user_assigned_identity.example.id encryption { key_vault_key_id = azurerm_key_vault_key.example.versionless_id } } ``` # Error 9 3 examples failed with the following error: ``` unsupported attribute 'certificateBlob'; unknown property 'certificateBlob' among [certificateBlobBase64 certificatePassword containerAppEnvironmentId name tags] ``` Failures include converting the "#/resources/azure:containerapp/environmentCertificate:EnvironmentCertificate" example with the following HCL to python, typescript, csharp: ``` resource "azurerm_resource_group" "example" { name = "example-resources" location = "West Europe" } resource "azurerm_log_analytics_workspace" "example" { name = "acctest-01" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name sku = "PerGB2018" retention_in_days = 30 } resource "azurerm_container_app_environment" "example" { name = "myEnvironment" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name log_analytics_workspace_id = azurerm_log_analytics_workspace.example.id } resource "azurerm_container_app_environment_certificate" "example" { name = "myfriendlyname" container_app_environment_id = azurerm_container_app_environment.example.id certificate_blob = filebase64("path/to/certificate_file.pfx") certificate_password = "$3cretSqu1rreL" } ``` # Error 10 2 examples failed with the following error: ``` unsupported attribute 'externalDocsUrl'; unsupported attribute 'externalDocsDescription'; unknown property 'externalDocsUrl' among [apiTagId description externalDocumentationDescription externalDocumentationUrl]; unknown property 'externalDocsDescription' among [apiTagId description externalDocumentationDescription externalDocumentationUrl]; Provider config not supported: Blocks in provider config are not supported, ignoring azurerm:features ``` Failures include converting the "#/resources/azure:apimanagement/apiTagDescription:ApiTagDescription" example with the following HCL to python, typescript: ``` provider "azurerm" { features {} } resource "azurerm_resource_group" "example" { name = "example-resources" location = "West Europe" } resource "azurerm_api_management" "example" { name = "example-apim" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name publisher_name = "My Company" publisher_email = "company@terraform.io" sku_name = "Developer_1" } resource "azurerm_api_management_api" "example" { name = "example-api" resource_group_name = azurerm_resource_group.example.name api_management_name = azurerm_api_management.example.name revision = "1" display_name = "Example API" path = "example" protocols = ["https"] import { content_format = "swagger-link-json" content_value = "http://conferenceapi.azurewebsites.net/?format=json" } } resource "azurerm_api_management_tag" "example" { api_management_id = azurerm_api_management.example.id name = "example-Tag" } resource "azurerm_api_management_api_tag_description" "example" { api_tag_id = azurerm_api_management_tag.example.id description = "This is an example description" external_docs_url = "https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs" external_docs_description = "This is an example external docs description" } ```
- Loading branch information