Page MenuHomeSolus

Updates terraform to v0.13.5
ClosedPublic

Authored by kaktuspalme on Sep 19 2020, 7:42 AM.

Details

Summary

Summarized Changelog:

  • Features
    • count and for_each for modules: Similar to the arguments of the same name in resource and data blocks, these create multiple instances of a module from a single module block.
    • depends_on for modules: Modules can now use the depends_on argument to ensure that all module resource changes will be applied after any changes to the depends_on targets have been applied.
    • Automatic installation of third-party providers: Terraform now supports a decentralized namespace for providers, allowing for automatic installation of community providers from third-party namespaces in the public registry and from private registries.
    • Custom validation rules for input variables: A new validation block type inside variable blocks allows module authors to define validation rules at the public interface into a module, so that errors in the calling configuration can be reported in the caller's context rather than inside the implementation details of the module.
    • New Kubernetes remote state storage backend: This backend stores state snapshots as Kubernetes secrets.
  • Breaking Changes
    • As part of introducing a new heirarchical namespace for providers, Terraform now requires an explicit source specification for any provider that is not in the "hashicorp" namespace in the main public registry. For more information, including information on the automatic upgrade process, refer to the v0.13 upgrade guide.
    • terraform import: the previously-deprecated -provider option is now removed. To specify a non-default provider configuration for import, add the provider meta-argument to the target resource block.
    • config: Inside provisioner blocks that have when = destroy set, and inside any connection blocks that are used by such provisioner blocks, it is no longer valid to refer to any objects other than self, count, or each. (This was previously deprecated in a v0.12 minor release.) If you are using null_resource to define provisioners not attached to a real resource, include any values your provisioners need in the triggers map and change the provisioner configuration to refer to those values via self.triggers.
    • configs: At most one terraform required_providers block is permitted per module. If you previously had multiple required_providers blocks in the same module, consolidate their requirements together into a single block.
    • backend/oss: The TableStore schema now requires a primary key named LockID of type String.
    • backend/s3: The previously-deprecated lock_table, skip_get_ec2_platforms, and skip_requesting_account_id arguments are now removed.
    • backend/s3: The credential source preference order now considers EC2 instance profile credentials as lower priority than shared configuration, web identity, and ECS role credentials.
    • backend/s3: The AWS_METADATA_TIMEOUT environment variable is no longer used. The timeout is now fixed at one second with two retries.

For a complete list go to: https://github.com/hashicorp/terraform/blob/v0.13.5/CHANGELOG.md

Test Plan

Tested my terraform project:

  • terraform init to update my providers
  • terraform plan to see changes
  • terraform apply to apply those changes
  • terraform destroy to remove the created resources

Diff Detail

Repository
R4354 terraform
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kaktuspalme created this revision.Sep 19 2020, 7:42 AM
kaktuspalme requested review of this revision.Sep 19 2020, 7:42 AM
JoshStrobl requested changes to this revision.Sep 22 2020, 1:17 PM
JoshStrobl added a subscriber: JoshStrobl.

You need to fix your weird spacing, removing irrelevant content (macOS and FreeBSD aren't Solus-related...), remove issue references, etc.

This revision now requires changes to proceed.Sep 22 2020, 1:17 PM
kaktuspalme edited the summary of this revision. (Show Details)Oct 13 2020, 4:53 PM

Updated to v0.13.4

kaktuspalme retitled this revision from Updates terraform to v0.13.3 to Updates terraform to v0.13.4.Oct 13 2020, 5:03 PM
kaktuspalme edited the summary of this revision. (Show Details)
JoshStrobl requested changes to this revision.Oct 13 2020, 5:04 PM

Still didn't fully address changelog issues.

This revision now requires changes to proceed.Oct 13 2020, 5:04 PM
kaktuspalme edited the summary of this revision. (Show Details)Oct 13 2020, 5:25 PM

I hope you are now satisfied with the changelog.

You have links with bold markdown syntax inside it. That's not valid and the bold syntax should probably just be removed. You're using * instead of - for the list items, there's still new lines with extra content in the list items that should be placed on the same line, it'll get naturally wrapped in the Software Center.

Updates to v0.13.5

kaktuspalme retitled this revision from Updates terraform to v0.13.4 to Updates terraform to v0.13.5.Fri, Oct 30, 8:55 AM
kaktuspalme edited the summary of this revision. (Show Details)

Ok I changed * to - and removed the extra new lines in the lists.
Just as a side note, * is absolutely valid in Markdown for lists. Does the software center only support a limited set of markdown features?

kaktuspalme edited the summary of this revision. (Show Details)

Updated version in package.yml

kaktuspalme edited the summary of this revision. (Show Details)Fri, Oct 30, 9:02 AM
kaktuspalme edited the summary of this revision. (Show Details)Fri, Oct 30, 9:05 AM
kaktuspalme edited the summary of this revision. (Show Details)
JoshStrobl accepted this revision.Fri, Oct 30, 9:49 AM
JoshStrobl edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Fri, Oct 30, 9:49 AM
This revision was automatically updated to reflect the committed changes.