Types of ResourcesΒΆ

There are three types of resources in Gyro provider implementations:

Resource
This is a top-level resource such as aws::instance. Resources can be defined directly within a file. They cannot be used inside other resources. This resource extends Resource.
Subresource
This is a resource that must be defined as part of a parent resource but can be updated independently of the parent resource when changes are detected. A example of a subresource is an aws::security-group ingress rule.
Complex type
This is a resource that must be defined as part of a parent resource but cannot be updated independently of the parent resource.