thomasfinstad / terraform-provider-vyos-rolling

Terraform provider for VyOS with a focus on automatic resource generation
6 stars 0 forks source link

look into marking values as sensitive #176

Closed github-actions[bot] closed 7 months ago

github-actions[bot] commented 7 months ago

Is there any way to detect this from the shcema?

If not a manual overwrite feature during code generation

will be the next best thing.

Example of sensitive value:

https://github.com/thomasfinstad/terraform-provider-vyos/blob/12da2ea513dbc73659918e246d47b09f43ce40b2/tools/build-terraform-resource-full/main.go#L113


    //  making it easier for users to import resources by following the documentation
    //  explain how the resource ID is built up by using a template
    //  something like policy__access-list__<access-list id>__rule__<rule id>

    // TODO look into marking values as sensitive
    //  Is there any way to detect this from the shcema?
    //  If not a manual overwrite feature during code generation
    //  will be the next best thing.
    //  Example of sensitive value: 
}

func namedResources(tagNode *interfacedefinition.TagNode, skipDirAbsNames []string, rootOutputDirectory string, rootPkgName string, selfImportRoot string) (pkgs []autogenTemplateInfo) {