The AutoRest (https://github.com/Azure/autorest) extension that generates Terraform Azure Resource Manager provider (https://github.com/terraform-providers/terraform-provider-azurerm) in Go code.
Перейти к файлу
Junyi Yi 1171ff63da Add ForceNew and Computed schema support. 2018-04-13 11:58:02 -07:00
samples/hdinsight Add ForceNew and Computed schema support. 2018-04-13 11:58:02 -07:00
src Add ForceNew and Computed schema support. 2018-04-13 11:58:02 -07:00
.gitignore Add HDInsight sample for the generator. 2018-03-20 18:07:47 -07:00
AutoRest.Terraform.sln Setup the initial folder structure and build tasks. 2018-02-24 00:15:11 +08:00
DEVDOC.md Setup the initial folder structure and build tasks. 2018-02-24 00:15:11 +08:00
LICENSE Initial commit 2018-02-21 02:03:32 -08:00
README.md Rename the plugin to "terraform-provider". 2018-03-08 21:27:42 +08:00
gulpfile.js Display terraform provider schema to user. 2018-03-29 01:58:56 -07:00
package.json Add HDInsight sample for the generator. 2018-03-20 18:07:47 -07:00

README.md

Azure Terraform Provider Generator (AutoRest Plugin)

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

AutoRest extension configuration

use-extension:
    "@microsoft.azure/autorest.modeler": "2.3.47"

pipeline:
    terraform-provider/imodeler1:
        input: openapi-document/identity
        output-artifact: code-model-v1
        scope: terraform-provider
    terraform-provider/commonmarker:
        input: imodeler1
        output-artifact: code-model-v1
    terraform-provider/cm/transform:
        input: commonmarker
        output-artifact: code-model-v1
    terraform-provider/cm/emitter:
        input: transform
        scope: scope-cm/emitter
    terraform-provider/generate:
        plugin: terraform-provider
        input: cm/transform
        output: source-file-terraform-provider
    terraform-provider/transform:
        input: generate
        output-artifact: source-file-terraform-provider
        scope: scope-transform-string
    terraform-provider/emitter:
        input: transform
        scope: scope-terraform-provider/emitter

scope-terraform-provider/emitter:
    input-artifact: source-file-terraform-provider
    output-uri-expr: $key

output-artifact:
  - source-file-terraform-provider