mirror of https://github.com/coder/coder.git
fix: set ignore_changes on EC2 example templates (#10773)
This commit is contained in:
parent
3aef070959
commit
328a383f15
|
@ -255,6 +255,9 @@ resource "aws_instance" "dev" {
|
|||
# Required if you are using our example policy, see template README
|
||||
Coder_Provisioned = "true"
|
||||
}
|
||||
lifecycle {
|
||||
ignore_changes = [ami]
|
||||
}
|
||||
}
|
||||
|
||||
resource "coder_metadata" "workspace_info" {
|
||||
|
|
|
@ -191,6 +191,9 @@ resource "aws_instance" "dev" {
|
|||
# Required if you are using our example policy, see template README
|
||||
Coder_Provisioned = "true"
|
||||
}
|
||||
lifecycle {
|
||||
ignore_changes = [ami]
|
||||
}
|
||||
}
|
||||
|
||||
resource "coder_metadata" "workspace_info" {
|
||||
|
|
Loading…
Reference in New Issue