Skip to content

Commit

Permalink
Update dependency hashicorp/terraform-provider-aws to v4.52.0 (#22)
Browse files Browse the repository at this point in the history
Signed-off-by: tflibsonnet-ci <[email protected]>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
  • Loading branch information
tflibsonnet-ci and renovate[bot] committed Feb 1, 2023
1 parent 5babd16 commit 319b00f
Show file tree
Hide file tree
Showing 18 changed files with 6,612 additions and 2,143 deletions.
82 changes: 82 additions & 0 deletions 4.x/_gen/data/auditmanager_framework.libsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
{
'#':: d.pkg(name='auditmanager_framework', url='', help='`auditmanager_framework` represents the `aws_auditmanager_framework` Terraform data source.\n\n\n\nThis package contains functions and utilities for setting up the data source using Jsonnet code.\n'),
control_sets:: {
controls:: {
'#new':: d.fn(help='\n`aws.auditmanager_framework.control_sets.controls.new` constructs a new object with attributes and blocks configured for the `controls`\nTerraform sub block.\n\n\n\n**Returns**:\n - An attribute object that represents the `controls` sub block.\n', args=[]),
new(

):: std.prune(a={}),
},
'#new':: d.fn(help='\n`aws.auditmanager_framework.control_sets.new` constructs a new object with attributes and blocks configured for the `control_sets`\nTerraform sub block.\n\n\n\n**Args**:\n - `controls` (`list[obj]`): Set the `controls` field on the resulting object. When `null`, the `controls` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.auditmanager_framework.control_sets.controls.new](#fn-control_setscontrolsnew) constructor.\n\n**Returns**:\n - An attribute object that represents the `control_sets` sub block.\n', args=[]),
new(
controls=null
):: std.prune(a={
controls: controls,
}),
},
'#new':: d.fn(help="\n`aws.data.auditmanager_framework.new` injects a new `data_aws_auditmanager_framework` Terraform `data source`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n aws.data.auditmanager_framework.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.data.auditmanager_framework` using the reference:\n\n $._ref.data_aws_auditmanager_framework.some_id.get('id')\n\nThis is the same as directly entering `\"${ data_aws_auditmanager_framework.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block.\n - `framework_type` (`string`): Set the `framework_type` field on the resulting data source block.\n - `name` (`string`): Set the `name` field on the resulting data source block.\n - `control_sets` (`list[obj]`): Set the `control_sets` field on the resulting data source block. When `null`, the `control_sets` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.auditmanager_framework.control_sets.new](#fn-control_setsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new data source into the root Terraform configuration.\n", args=[]),
new(
dataSrcLabel,
framework_type,
name,
control_sets=null,
_meta={}
):: tf.withData(
type='aws_auditmanager_framework',
label=dataSrcLabel,
attrs=self.newAttrs(control_sets=control_sets, framework_type=framework_type, name=name),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`aws.data.auditmanager_framework.newAttrs` constructs a new object with attributes and blocks configured for the `auditmanager_framework`\nTerraform data source.\n\nUnlike [aws.data.auditmanager_framework.new](#fn-new), this function will not inject the `data source`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `framework_type` (`string`): Set the `framework_type` field on the resulting object.\n - `name` (`string`): Set the `name` field on the resulting object.\n - `control_sets` (`list[obj]`): Set the `control_sets` field on the resulting object. When `null`, the `control_sets` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [aws.data.auditmanager_framework.control_sets.new](#fn-control_setsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withData](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withdata) to construct a new `auditmanager_framework` data source into the root Terraform configuration.\n', args=[]),
newAttrs(
framework_type,
name,
control_sets=null
):: std.prune(a={
control_sets: control_sets,
framework_type: framework_type,
name: name,
}),
'#withControlSets':: d.fn(help='`aws.list[obj].withControlSets` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the control_sets field.\n\nThis function will replace the array with the passed in `value`. If you wish to instead append the\npassed in value to the existing array, use the [aws.list[obj].withControlSetsMixin](TODO) function.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `control_sets` field.\n', args=[]),
withControlSets(dataSrcLabel, value): {
data+: {
aws_auditmanager_framework+: {
[dataSrcLabel]+: {
control_sets: value,
},
},
},
},
'#withControlSetsMixin':: d.fn(help='`aws.list[obj].withControlSetsMixin` constructs a mixin object that can be merged into the `list[obj]`\nTerraform data source block to set or update the control_sets field.\n\nThis function will append the passed in array or object to the existing array. If you wish\nto instead replace the array with the passed in `value`, use the [aws.list[obj].withControlSets](TODO)\nfunction.\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`list[obj]`): The value to set for the `control_sets` field.\n', args=[]),
withControlSetsMixin(dataSrcLabel, value): {
data+: {
aws_auditmanager_framework+: {
[dataSrcLabel]+: {
control_sets+: if std.isArray(v=value) then value else [value],
},
},
},
},
'#withFrameworkType':: d.fn(help='`aws.string.withFrameworkType` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the framework_type field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `framework_type` field.\n', args=[]),
withFrameworkType(dataSrcLabel, value): {
data+: {
aws_auditmanager_framework+: {
[dataSrcLabel]+: {
framework_type: value,
},
},
},
},
'#withName':: d.fn(help='`aws.string.withName` constructs a mixin object that can be merged into the `string`\nTerraform data source block to set or update the name field.\n\n\n\n**Args**:\n - `dataSrcLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `name` field.\n', args=[]),
withName(dataSrcLabel, value): {
data+: {
aws_auditmanager_framework+: {
[dataSrcLabel]+: {
name: value,
},
},
},
},
}
1 change: 1 addition & 0 deletions 4.x/_gen/data/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
appmesh_virtual_service: (import 'appmesh_virtual_service.libsonnet'),
arn: (import 'arn.libsonnet'),
auditmanager_control: (import 'auditmanager_control.libsonnet'),
auditmanager_framework: (import 'auditmanager_framework.libsonnet'),
autoscaling_group: (import 'autoscaling_group.libsonnet'),
autoscaling_groups: (import 'autoscaling_groups.libsonnet'),
availability_zone: (import 'availability_zone.libsonnet'),
Expand Down
3 changes: 3 additions & 0 deletions 4.x/_gen/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,12 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
athena_workgroup: (import 'resources/athena_workgroup.libsonnet'),
auditmanager_account_registration: (import 'resources/auditmanager_account_registration.libsonnet'),
auditmanager_assessment: (import 'resources/auditmanager_assessment.libsonnet'),
auditmanager_assessment_delegation: (import 'resources/auditmanager_assessment_delegation.libsonnet'),
auditmanager_assessment_report: (import 'resources/auditmanager_assessment_report.libsonnet'),
auditmanager_control: (import 'resources/auditmanager_control.libsonnet'),
auditmanager_framework: (import 'resources/auditmanager_framework.libsonnet'),
auditmanager_framework_share: (import 'resources/auditmanager_framework_share.libsonnet'),
auditmanager_organization_admin_account_registration: (import 'resources/auditmanager_organization_admin_account_registration.libsonnet'),
autoscaling_attachment: (import 'resources/autoscaling_attachment.libsonnet'),
autoscaling_group: (import 'resources/autoscaling_group.libsonnet'),
autoscaling_group_tag: (import 'resources/autoscaling_group_tag.libsonnet'),
Expand Down
90 changes: 90 additions & 0 deletions 4.x/_gen/resources/auditmanager_assessment_delegation.libsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
{
'#':: d.pkg(name='auditmanager_assessment_delegation', url='', help='`auditmanager_assessment_delegation` represents the `aws_auditmanager_assessment_delegation` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'),
'#new':: d.fn(help="\n`aws.auditmanager_assessment_delegation.new` injects a new `aws_auditmanager_assessment_delegation` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n aws.auditmanager_assessment_delegation.new('some_id')\n\nYou can get the reference to the `id` field of the created `aws.auditmanager_assessment_delegation` using the reference:\n\n $._ref.aws_auditmanager_assessment_delegation.some_id.get('id')\n\nThis is the same as directly entering `\"${ aws_auditmanager_assessment_delegation.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `assessment_id` (`string`): Set the `assessment_id` field on the resulting resource block.\n - `comment` (`string`): Set the `comment` field on the resulting resource block. When `null`, the `comment` field will be omitted from the resulting object.\n - `control_set_id` (`string`): Set the `control_set_id` field on the resulting resource block.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting resource block.\n - `role_type` (`string`): Set the `role_type` field on the resulting resource block.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]),
new(
resourceLabel,
assessment_id,
control_set_id,
role_arn,
role_type,
comment=null,
_meta={}
):: tf.withResource(
type='aws_auditmanager_assessment_delegation',
label=resourceLabel,
attrs=self.newAttrs(
assessment_id=assessment_id,
comment=comment,
control_set_id=control_set_id,
role_arn=role_arn,
role_type=role_type
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`aws.auditmanager_assessment_delegation.newAttrs` constructs a new object with attributes and blocks configured for the `auditmanager_assessment_delegation`\nTerraform resource.\n\nUnlike [aws.auditmanager_assessment_delegation.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `assessment_id` (`string`): Set the `assessment_id` field on the resulting object.\n - `comment` (`string`): Set the `comment` field on the resulting object. When `null`, the `comment` field will be omitted from the resulting object.\n - `control_set_id` (`string`): Set the `control_set_id` field on the resulting object.\n - `role_arn` (`string`): Set the `role_arn` field on the resulting object.\n - `role_type` (`string`): Set the `role_type` field on the resulting object.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `auditmanager_assessment_delegation` resource into the root Terraform configuration.\n', args=[]),
newAttrs(
assessment_id,
control_set_id,
role_arn,
role_type,
comment=null
):: std.prune(a={
assessment_id: assessment_id,
comment: comment,
control_set_id: control_set_id,
role_arn: role_arn,
role_type: role_type,
}),
'#withAssessmentId':: d.fn(help='`aws.string.withAssessmentId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the assessment_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `assessment_id` field.\n', args=[]),
withAssessmentId(resourceLabel, value): {
resource+: {
aws_auditmanager_assessment_delegation+: {
[resourceLabel]+: {
assessment_id: value,
},
},
},
},
'#withComment':: d.fn(help='`aws.string.withComment` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the comment field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `comment` field.\n', args=[]),
withComment(resourceLabel, value): {
resource+: {
aws_auditmanager_assessment_delegation+: {
[resourceLabel]+: {
comment: value,
},
},
},
},
'#withControlSetId':: d.fn(help='`aws.string.withControlSetId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the control_set_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `control_set_id` field.\n', args=[]),
withControlSetId(resourceLabel, value): {
resource+: {
aws_auditmanager_assessment_delegation+: {
[resourceLabel]+: {
control_set_id: value,
},
},
},
},
'#withRoleArn':: d.fn(help='`aws.string.withRoleArn` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the role_arn field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `role_arn` field.\n', args=[]),
withRoleArn(resourceLabel, value): {
resource+: {
aws_auditmanager_assessment_delegation+: {
[resourceLabel]+: {
role_arn: value,
},
},
},
},
'#withRoleType':: d.fn(help='`aws.string.withRoleType` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the role_type field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `role_type` field.\n', args=[]),
withRoleType(resourceLabel, value): {
resource+: {
aws_auditmanager_assessment_delegation+: {
[resourceLabel]+: {
role_type: value,
},
},
},
},
}
Loading

0 comments on commit 319b00f

Please sign in to comment.