Socket
Socket
Sign inDemoInstall

@candidpartners/snitch-types

Package Overview
Dependencies
0
Maintainers
7
Versions
72
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.9.9 to 2.9.10

lib/cjs/terraform/index.js

95

CHANGELOG.md

@@ -7,2 +7,97 @@ # Changelog

## [2.9.10] - 2021-06-07
### Added:
- ITerraformConfigExpression - Terraform Plan Expression Representation.
Describes an unevaluated expression in the configuration.
- ITerraformConfigExpressions - Map of zero or more Terraform Plan Expression Representation.
Each entry describes an unevaluated expression in the configuration.
- ITerraformPlanVariables - Terraform module input variables.
- ITerraformPlanConfigurationVariables - Terraform configuration module input variables.
- ITerraformPlanConfigurationOutputs - Terraform Plan planned_values module output variables.
- ITerraformPlanPlannedValuesOutputs - Terraform Plan planned_values module output variables.
- ITerraformPlanConfigurationResourceProvisioner - optional field which describes any provisioners.
Connection info will not be included here.
- ITerraformBaseResourceJson - Base Terraform Resource Representation for a single JSON object.
- ITerraformBaseResource - Base Terraform Resource Representation for a single instance object.
- ITerraformPlanConfigurationResourceJson - Terraform Plan Configuration Representation for a single instance object.
- ITerraformPlanPlannedValuesResourceJson - Terraform Plan Values Representation for a single instance object.
Values representations are used in both state and plan output to describe
current state (which is always complete) and planned state (which omits values not known until apply).
This interface is used to construct a instance of the TerraformPlanResource class.
- ITerraformPlanResourceChangesResourceJson - Terraform Plan Change Representation for a single instance object.
This interface is a description of the individual change actions that Terraform
plans to use to move from the prior state to a new state matching the
configuration for one instance object.
This interface is used to construct a instance of the TerraformPlanResource class.
- ITerraformPlanPlannedValuesChildModule - Each entry in child_modules has the same structure as the root_module
object, with the additional address property shown below.
- ITerraformPlanPlannedValuesRootModule - Values Representation root_module.
root_module describes the resources and child modules in the root module.
- ITerraformPlanConfigurationModule - Each module object can optionally have its own
nested child_modules, recursively describing the
full module tree.
- ITerraformPlanConfigurationRootModule - describes the root module in the configuration, and serves
as the root of a tree of similar objects describing descendent modules.
- ITerraformPlanConfigurationProviderConfig - describes all of the provider configurations throughout
the configuration tree, flattened into a single map for convenience since
provider configurations are the one concept in Terraform that can span
across module boundaries.
- ITerraformPlanConfigurationResource - Terraform Plan Configuration Representation for a single instance object.
Because the configuration models are produced at a stage prior to expression
evaluation, it is not possible to produce a values representation for configuration.
Instead, we describe the physical structure of the configuration, giving access to
constant values where possible and allowing callers to analyze any references to other
objects that are present
- ITerraformPlanPlannedValuesResource - Terraform Plan Values Representation for a single instance object.
- ITerraformPlanResourceChangesResource - Terraform plan Change Representation for a single instance object.
This interface describes the individual change actions that Terraform
plans to use to move from the prior state to a new state matching the
configuration for one instance object.
This interface is implemented by the TerraformPlanResourceChangesResource class.
### Changed:
- terraform.ts
- created new terraform directory and split module up into smaller logical parts.
- ITerraformPlanResource
- expressions - describes the resource-type-specific content of the configuration block.
- schema_version - indicates which version of the resource type schema the values property conforms to.
- values - The JSON representation of the attribute values of the
resource, whose structure depends on the resource type schema. Any
unknown values are omitted or set to null, making them
indistinguishable from absent values; callers which need to distinguish
unknown from unset must use the plan-specific or configuration-specific
structures described in later sections.
- getExpression - Get Terraform plan, configuration resource property un-applied expression by property name.
- getExpressionConstantValue - Get Terraform plan, configuration resource property constant_value expression by property name.
- getExpressionReferences - Get Terraform plan, configuration resource property references expression by property name.
- getPlannedValue - Get Terraform resource planned_values by property name.
planned_values is a description of what is known so far of the outcome in
the standard value representation, with any as-yet-unknown values omitted.
- isComputed - Returns true for resource property values which are automatically computed by
the system, false otherwise (user configured property values, unset values...).
- isConstantValue - Returns true for resource property values set to a hard coded constant value,
false otherwise (computed values, reference values, unset values...).
- isDynamic - Returns true for resource property values dynamically set at apply time, false otherwise.
- isReference - Returns true for resource property values set reference a value defined by another
resource, false otherwise.
- ITerraformPlan
- getPlannedValuesResources - Terraform Plan Values Representation, planned_values resources.
- getPlannedValuesResourcesByType - Get Terraform Plan Values Representation, planned_values resources
by one or more Terraform resource types.
- getPlannedValuesResourceByAddress - Get Terraform Plan Values Representation, planned_values resource by unique address.
- getResourceChangesResources - Terraform Plan Change Representation, resource_changes resources.
- getResourceChangesResourceByAddress - Terraform Plan Change Representation, resource_changes resource by unique address.
- getResourceByAddress - Terraform plan resource representation including planned_values,
resource_changes and resource configuration for a single instance object.
### Deprecated:
- ITerraformPlan
- getResourcesConfigurationByAddress - please use getResourceConfigurationByAddress instead.
- IRawTerraformPlanResource
- use ITerraformPlanResourceChangesResourceJson instead.
- ITerraformConfigRootResource
- use ITerraformPlanConfigurationRootModule instead.
- ITerraformConfigModule
- use ITerraformPlanConfigurationModule instead.
## [2.9.9] - 2021-06-04

@@ -9,0 +104,0 @@ ### Fixes

2

package.json

@@ -23,3 +23,3 @@ {

"types": "./lib/types/index.d.ts",
"version": "2.9.9",
"version": "2.9.10",
"scripts": {

@@ -26,0 +26,0 @@ "prebuild": "rm -rf ./lib",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc