Global

GET /bastion/global

Get the global config

Response JSON Object:
 
  • bastionID (string) –
  • instanceID (string) –
  • source (string) –

Example response:

{}
POST /bastion/global

Set the global config. This operation will be rejected if the terraform instance is not destroyed

Request JSON Object:
 
  • bastionID (string) –
  • instanceID (string) –
  • source (string) –

Example query:

{}
GET /bastion/global/tfvars

Get the global tfvars.

Response JSON Object:
 
  • [key] – . Type can be any of boolean,integer,number,object,string,null.

Example response:

{}
POST /bastion/global/tfvars

Set the global tfvars.

Request JSON Object:
 
  • [key] – . Type can be any of boolean,integer,number,object,string,null.

Example query:

{}
DELETE /bastion/global/tfvars

Delete the global tfvars.