Skip to content

Releases: minamijoyo/tfedit

v0.2.1

13 Jan 14:40
Compare
Choose a tag to compare

Changelog

  • 9ebc955 Bump version to v0.2.1
  • 1e4b2b8 Rename references for website_domain and website_endpoint
  • 9719b18 Skip redundant deduplicating and sorting
  • 7b8ad1c List all references in a block
  • f1c33c9 Implement rename references in a block
  • e647b73 Implement rename references in an attribute
  • d485585 Complete all primitive top-level block types
  • 734cf95 Update localstack to v1.3.1
  • 97aeec5 Update Terraform to v1.3.6
  • 0ef7546 Update golangci-lint to v1.50.1
  • 9b079e9 Update Go to v1.19

v0.2.0

19 Dec 14:23
Compare
Choose a tag to compare

Changelog

  • c945607 Bump version to v0.2.0
  • 2bdbd80 Rename AllBlocksFilter to FileFilter
  • 3c4d713 Remove unused BlocksByTypeFilter
  • 8921e6f Remove unused finders
  • 3de0df3 Add tests for block finder
  • 1d75a3b Add tests for BlockFilter
  • 408ebe1 Add test helpers for building block filters
  • b138fe1 Restrict blocks to which VerticalFormat is applied
  • bfddfc5 Allow to apply multiple types of block filters at once
  • 874a840 Unify appendig blocks to AppendBlock()
  • c0cc48d Generalize block finders
  • e3fbbd5 Generalize BlockFilterFunc
  • 09b9574 Use BlockFilter instead of ProviderFilter
  • 3e1fb17 Use io.Discard instead of ioutil.Discard
  • b8296e8 Use BlockFilter instead of ResourceFilter
  • 5ed5e0f Move SchemaType() into the Block interface
  • 78c00a3 Refactor block-related logic
  • 7bec1e8 Add DataSource type to tfwrite package
  • fb1bb5f Rename s3_force_path_style to s3_use_path_style in provider aws block
  • 8beb9da Add support for provider meta argument

v0.1.3

12 Aug 05:54
Compare
Choose a tag to compare

Changelog

  • 7f1be4e Bump version to v0.1.3
  • af5b47e Use GitHub App token for updating brew formula on release

v0.1.2

06 Jul 14:31
Compare
Choose a tag to compare

Changelog

  • bd2ea3a Bump version to v0.1.2
  • b72d153 Fix invalid filter and tags for aws_s3_bucket_lifecycle_configuration
  • d6d80ea Use a native cache feature in actions/setup-go
  • 1cbb1d9 Suppress adding invalid days_after_initiation for aws_s3_bucket_lifecycle_configuration
  • e2de3b5 Suppress creating a migration file when no action
  • f8c09eb Map mfa_delete true/false => Enabled/Disabled for aws_s3_bucket_versioning

v0.1.1

16 Jun 07:28
Compare
Choose a tag to compare

Changelog

  • 06a56e4 Bump version to v0.1.1
  • 63b218e Update terraform-json to v0.14.0
  • 187f39f Update hcledit to v0.2.5
  • 84344fd Update Go to v1.18.3
  • cb129fa Update hcl to v2.12.0 and hcledit to v0.2.4
  • 9e06870 Update Go to v1.17.10 and Alpine to v3.16

v0.1.0

07 Jun 01:18
Compare
Choose a tag to compare

Changelog

  • 2161094 Bump version to v0.1.0
  • 9599d43 Read Go version from .go-version on GitHub Actions
  • 6e09fc9 Add support for Terraform v1.2
  • 3cda5a3 Add a note about an limitation of aws_s3_bucket.lifecycle_rule.id

v0.0.3

10 May 02:24
Compare
Choose a tag to compare

Changelog

  • 5c98b86 Bump version to v0.0.3
  • 49b9e4e Add support for count and for_each

v0.0.2

02 May 03:37
Compare
Choose a tag to compare

Changelog

  • 580b836 Bump version to v0.0.2
  • e84cfea Fix typos
  • 1e29963 Rename migration awsv4upgrade command to fromplan
  • f854faa Rename Generate to GenerateFromPlan
  • 6258cc7 Add tests for parse plan file
  • a7ee94e Return an error instead of panic
  • c9d03a1 Add tests for Conflict
  • 358fe9a Return only unresolved conflicts
  • afd5892 Add a test for unknown resource type
  • e45784c Skip generating a conflict when no-op
  • d2091b2 Add tests for StateImportResolver
  • bbac8f8 Split StateImportResolver to a file
  • c4f65c2 Rename analyzer to plan_analyzer
  • e32146a Add tests for StateMigration and StateAction
  • 013e6e9 Add tests for generating a migration file from plan
  • 2d24ce6 Add tests for dictionary
  • 8f0fa6f Fix the error message for importIDFuncAWSS3BucketACL
  • d3efc02 Split ImportIDFunc to a file and add tests
  • 18a5780 Return an error if failed to parse plan file
  • 776af50 Add support grant for import
  • 252b08d Use a raw JSON string as a test data for easy testing
  • 60c3127 Add a test for importIDFuncAWSS3BucketACL
  • 8fea92a Inject a dictionary to StateImportResolver for easy testing
  • fc5a256 Fix lint issues
  • fd73a7b Fix the sort order of test-fixtures
  • 80f0ac6 Generate migration files on acceptance tests
  • 9d52318 Allow to pass a dir attribute in a migration file
  • cf1bd13 Allow to pass a name label of migration block
  • 2e04eae Abstract problem solving so that it can be extended other than import
  • 0f0a961 Analyze a given plan and resolve conflicts and generate a migration
  • 13def48 Extract Plan as a type
  • 1ff7739 Rename File to StateMigration
  • 5192a46 Abstract Action to interface
  • 47b4aeb Rename Migration to File
  • d9e3410 Rename registerSchema to registerS3Schema
  • 01bbbf1 Update tfmigrate to v0.3.3
  • 6889205 Extract Migration as a type
  • fbb5288 Add comments for schema package
  • fa96e92 Fix a bug for binding flags
  • 4d41048 go mod tidy
  • 3df62e9 Register ImportIDFuncs for aws_s3_bucket_*
  • 9575027 Allow to inject definitions of resource type outside from package
  • f8dbf09 Allow to read a plan file from stdin
  • 2f117ed Implement a PoC for generating import commands

v0.0.1

15 Apr 07:38
Compare
Choose a tag to compare

Changelog

  • d1aef8f Add CHANGELOG
  • 975c623 Setup goreleaser
  • 4e64856 Make awsv4upgrade filter as a sub command
  • 9b09e3c Fix a comment about the permission issue of git
  • 4c984c0 Fix a permission issue for CVE-2022-24765
  • 59671de Setup acceptance tests on GitHub Actions
  • 1bd0df7 Add full version for acceptance test at once
  • d28ccd1 Use valid configuration as unit tests
  • c62201c Add acceptance tests and fixtures
  • c6af445 Update examples using AWS v4.9
  • deac504 Update GitHub Actions to latest
  • fbc1187 Use a top-level object_lock_enabled for object_lock_configuration
  • f7d7bf0 Update Go to v1.17.8
  • 997e8ec Update the Getting Started guide
  • acad849 Setup localstack for testing import
  • 1e983c0 Fix regression of aws3v4ugprade filter
  • a4e4ab3 Fix typo
  • fa36165 Update golangci-lint to v1.45.2
  • 884aad5 Remove a new line token from results in SplitTokensAsList()
  • 44e85c8 Fix suppress an empty token in empty list
  • cd38f8b Add tests for SplitTokensAsList()
  • 6526c3f Add tests for File
  • 0975f76 Add tests for NestedBlock
  • 46e4495 Add tests for Attribute
  • 6e8d634 Add a test for block.VerticalFormat()
  • 4f11b96 Add tests for nested blocks
  • 8acb244 Add tests for block attribute
  • e7b7106 Add block.Type()
  • f94bafe Rename Resource.Type() to Resource.SchemaType()
  • c86e5e2 Move Type(), Name(), SetAttributeByReference() to tfwrite.Resource
  • 3b23592 Generalize Resource and NestedBlock to a new Block interface
  • 25c36c1 Add support for replication_configuration of aws_s3_bucket
  • 1633481 Add support for object_lock_configuration of aws_s3_bucket
  • 1cc825d Add support for request_payer of aws_s3_bucket
  • 8056c03 Add support for acceleration_status of aws_s3_bucket
  • 6f9c6c8 Fix how to get canonical user id
  • a6c5e78 Add support for grant of aws_s3_bucket
  • 36aeef9 Add support for website argument of aws_s3_bucket
  • 8524969 Add another limitation for versioning.enabled = false
  • 2564fb8 Convert a timestamp format for date in transition and expiration
  • bc52170 Use go-cmp for testing
  • 3d0c26d Map tags of filter for lifecycle_rule
  • 8a8fe36 Add a limitation for filter of lifecycle_rule
  • 02ef0c9 Add tests for filter in lifecycle_rule
  • 479328b Add support for cors_rule argument of aws_s3_bucket
  • 08e7977 Add support for policy argument of aws_s3_bucket
  • 4628b92 Add support for versioning
  • 1dc6e78 Add support for server_side_encryption_configuration
  • ac37781 Extract setBucketArgument to a helper method
  • ac4b459 Move the vertical formatter to tfeditor package
  • 2eb9b5a Test multiple resources on AWSS3BucketFilter
  • 6d79f10 Loop resources on AWSS3BucketFilter, not on each filter
  • 1d59c6c Add ResourceFilter to remove duplicated resources loop from each filter
  • cb9deb9 Implement a vertical format
  • 1473420 Move Attribute and NestedBlock to new files
  • 3b5c69e Add support for lifecycle_rule
  • 1911449 Allow to find multiple nested blocks
  • cde53f8 Setup CI with GitHub Actions
  • 2fd35d4 Make a resource as first class struct
  • e4a6fa7 Rename variables for readability
  • 805389f Move generic methods to tfwrite package
  • 0087d7c Add README.md
  • a1d045b Rename aws_v4_upgrade command to filter
  • 35b945a Add version command
  • 2b88aca Add test fixtures
  • 1131876 Add LICENSE
  • 09ce2be Add comments for unimplemented filters
  • d8f5009 Setup make test and lint
  • bf76e9e Add tests
  • 844768b Set an original value for acl attribute
  • a8231f1 Update short name
  • eeeb419 Remove redundant constructors for filters
  • fc11a0d Extract setBucketArgument as a method
  • aae121a Extract getResourceName as a method
  • c85fd41 Extract appendNewResourceBlock as a method
  • d11f421 Extract findResourceByType as a method
  • b05403a Split filters by argument
  • 2d8144a Use hcledit to structure rewriting logic
  • 8cde077 Implement aws_s3_bucket_logging
  • 263a126 Implement a PoC
  • f2c766a Initial commit