Skip to content

Terraform schema definition stands in the middle of the Terraform core schema and the Plugin SDK schema.

License

Notifications You must be signed in to change notification settings

magodo/tfpluginschema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PkgGoDev

tfpluginschema

Terraform schema definition stands in the middle of the Terraform core schema and the Plugin SDK/FW schema.

Why

The motivation for this is to add more information that is lost during the conversion from plugin sdk to the terraform core schema. These information are fatal for developing tools that is oriented to the provider, rather than to the terraform core.

Specifically, we are:

  1. Adding Default for the Attribute
  2. Adding Required, Optional, Computed for the BlockType (SDK v2 only)
  3. Adding ExactlyOneOf, AtLeastOneOf, ConflictsWith and RequiredWith for both BlockType and the Attribute (SDK v2 only)
  4. Removing any other attributes

About

Terraform schema definition stands in the middle of the Terraform core schema and the Plugin SDK schema.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published