class GeoEngineer::Resources::AwsApiGatewayResource
AwsCloudTrail is the api_gatewat_rest_api
terrform resource,
{www.terraform.io/docs/providers/aws/r/api_gateway_resource.html}
Public Class Methods
_fetch_remote_resources(provider)
click to toggle source
# File lib/geoengineer/resources/aws_api_gateway_resource.rb, line 40 def self._fetch_remote_resources(provider) rest_api_resources = [] _remote_rest_api_resource(provider) do |rr, res| rest_api_resources << res end rest_api_resources end
Public Instance Methods
to_terraform_state()
click to toggle source
Calls superclass method
GeoEngineer::Resource#to_terraform_state
# File lib/geoengineer/resources/aws_api_gateway_resource.rb, line 28 def to_terraform_state tfstate = super tfstate[:primary][:attributes] = { "rest_api_id" => _rest_api._terraform_id } tfstate end