aws_vpc
, aws_db_instance
, etc. A resource belongs to a provider, accepts arguments, outputs attributes, and has lifecycles. A resource can be created, retrieved, updated, and deleted.terraform_remote_state
acts as a glue for higher-level modules and compositions.aws_security_group
and aws_security_group_rule
resources based on input. This resource module by itself can be used together with other modules to create the infrastructure module.