#60 - Customise backend by source set.
RemoteStateAwsS3ConfigGeneratorhas been deprecated in favour of RemoteStateConfigGenerator. Instances of task itself will be empty with a direct dependency on an instance of
RemoteStateConfigGenerator. Trying to configure the task will display a warning.
RemoteStateS3Providerhas been deprecated.
TerraformRemoteStateBasePluginhas been removed and it’s functionality absorbed into
AbstractRemoteStateConfigGeneratorhas been removed and replaced with
When applying the S3 backend, the
remote_statevariable is no longer added by default. In order to do this, set
remote.remoteStateVar = trueon the source set or globally on
tfstateis not automatically appended to the key name in
S3remote state. The default test template has changed to reflect this.
The default key for
s3remote state is set to the full project path including the root project name, plus the source set name. This might be different from what your current build is using. If you suddently find that
tfPlantype tasks are all not finding the resources, then this is probably the culprit. You can choose to manually rename the state object in S3, or you can explicitly set
remote.s3.remoteStateNameto be the one that you have been using.
Default version of Terraform is 1.0.2.