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 a25d3d0d6d Add publish script to package the whole project. 2018-04-16 18:53:58 -07:00
samples/hdinsight Add ForceNew and Computed schema support. 2018-04-13 11:58:02 -07:00
src Add publish script to package the whole project. 2018-04-16 18:53:58 -07:00
.gitignore Add publish script to package the whole project. 2018-04-16 18:53:58 -07:00
AutoRest.Terraform.sln Setup the initial folder structure and build tasks. 2018-02-24 00:15:11 +08:00
DEVDOC.md Add publish script to package the whole project. 2018-04-16 18:53:58 -07: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 Add publish script to package the whole project. 2018-04-16 18:53:58 -07:00
package.json Add publish script to package the whole project. 2018-04-16 18:53:58 -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