Skip to content

Instantly share code, notes, and snippets.

@bernerdschaefer
Created October 23, 2017 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bernerdschaefer/730e9dc1ae2dd581e486214eccff7ceb to your computer and use it in GitHub Desktop.
Save bernerdschaefer/730e9dc1ae2dd581e486214eccff7ceb to your computer and use it in GitHub Desktop.
Schema: map[string]*schema.Schema{
"addon": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
"app": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
"name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},
"namespace": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
},
"addon_id": {
Type: schema.TypeString,
Computed: true,
},
"addon_name": {
Type: schema.TypeString,
Computed: true,
},
"addon_app_id": {
Type: schema.TypeString,
Computed: true,
},
"addon_app_name": {
Type: schema.TypeString,
Computed: true,
},
"addon_plan_id": {
Type: schema.TypeString,
Computed: true,
},
"addon_plan_name": {
Type: schema.TypeString,
Computed: true,
},
"app_id": {
Type: schema.TypeString,
Computed: true,
},
"app_name": {
Type: schema.TypeString,
Computed: true,
},
"created_at": {
Type: schema.TypeString,
Computed: true,
},
"id": {
Type: schema.TypeString,
Computed: true,
},
"updated_at": {
Type: schema.TypeString,
Computed: true,
},
"web_url": {
Type: schema.TypeString,
Computed: true,
},
},
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment