Difference between revisions of "Terragrunt block: remote state"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
 +
[[encrypt =]]
  
  
Line 7: Line 8:
  
 
  [[terraform]] {
 
  [[terraform]] {
 +
 +
}
 +
  
  }
+
== Example ==
 +
  remote_state {
 +
    backend = "s3"
 +
    config = {
 +
      bucket = "mybucket"
 +
      key    = "path/to/my/key"
 +
      region = "us-east-1"
 +
    }
 +
  }
  
 
== Errors ==
 
== Errors ==
 
* <code>[[Error: Unable to find remote state]]</code>
 
* <code>[[Error: Unable to find remote state]]</code>
 
* <code>[[WARN]][0002] - The remote state S3 bucket your-bucket-name [[needs to be updated]]</code>
 
* <code>[[WARN]][0002] - The remote state S3 bucket your-bucket-name [[needs to be updated]]</code>
* <code>[[Remote state]] [[S3 bucket]] [[yourbucketname]] is out of date. Would you like [[Terragrunt]] to update it? (y/n)</code>
+
* <code>[[Remote state S3 bucket]] [[yourbucketname]] [[is out of date]]. [[Would you like Terragrunt to update it?]] (y/n)</code>
 +
* [[WARN 0000 - Bucket Enforced TLS]]
 +
 
 +
== Related ==
 +
* <code>[[terraform init -migrate-state]]</code>
 +
* [[generate]]
 +
* [[Terraform data block]]
  
 
== See also ==
 
== See also ==

Latest revision as of 15:10, 21 December 2023

Advertising: