Skip to content

Commit

Permalink
Update provider schemas
Browse files Browse the repository at this point in the history
- aws -> v4.12.1
- azurerm -> v3.4.0
- google -> v4.19.0
  • Loading branch information
magodo committed Apr 30, 2022
1 parent a0bb0c6 commit c2260ed
Show file tree
Hide file tree
Showing 7 changed files with 258,405 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .tools/schema-generator/aws/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func main() {
for name, rs := range provider.Provider().ResourcesMap {
schemas[name] = &tfschema.Schema{Block: tfschema.FromProviderSchemaMap(rs.Schema)}
}
b, err := json.Marshal(tfschema.ProviderSchema{ResourceSchemas: schemas})
b, err := json.MarshalIndent(tfschema.ProviderSchema{ResourceSchemas: schemas}, "", " ")
if err != nil {
log.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion .tools/schema-generator/azurerm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func run() error {
schemas[name] = &tfschema.Schema{Block: tfschema.FromProviderSchemaMap(res.Schema)}
}

b, err := json.Marshal(tfschema.ProviderSchema{ResourceSchemas: schemas})
b, err := json.MarshalIndent(tfschema.ProviderSchema{ResourceSchemas: schemas}, "", " ")
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion .tools/schema-generator/google/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func main() {
for name, rs := range google.Provider().ResourcesMap {
schemas[name] = &tfschema.Schema{Block: tfschema.FromProviderSchemaMap(rs.Schema)}
}
b, err := json.Marshal(tfschema.ProviderSchema{ResourceSchemas: schemas})
b, err := json.MarshalIndent(tfschema.ProviderSchema{ResourceSchemas: schemas}, "", " ")
if err != nil {
log.Fatal(err)
}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ Currently, the tool supports the following providers:

|Name|Version|
|-|-|
|registry.terraform.io/hashicorp/aws|v4.10.0|
|registry.terraform.io/hashicorp/azurerm|v3.3.0|
|registry.terraform.io/hashicorp/google|v4.18.0|
|registry.terraform.io/hashicorp/aws|v4.12.1|
|registry.terraform.io/hashicorp/azurerm|v3.4.0|
|registry.terraform.io/hashicorp/google|v4.19.0|

## Limitation

Expand Down
129,391 changes: 129,389 additions & 2 deletions providers/aws/provider_gen.go

Large diffs are not rendered by default.

77,088 changes: 77,086 additions & 2 deletions providers/azurerm/provider_gen.go

Large diffs are not rendered by default.

51,926 changes: 51,924 additions & 2 deletions providers/google/provider_gen.go

Large diffs are not rendered by default.

0 comments on commit c2260ed

Please sign in to comment.