[FIX] unprotect cmd example (#8430)

* [FIX] unprotect cmd example
This commit is contained in:
raphaelauv 2021-11-19 21:39:34 +01:00 committed by GitHub
parent 2c25c3fbd0
commit dbc8ab9ad6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,7 +341,7 @@ func (s *DeleteStep) Apply(preview bool) (resource.Status, StepCompleteFunc, err
"as it is currently marked for protection. To unprotect the resource, "+ "as it is currently marked for protection. To unprotect the resource, "+
"either remove the `protect` flag from the resource in your Pulumi"+ "either remove the `protect` flag from the resource in your Pulumi"+
"program and run `pulumi up` or use the command:\n"+ "program and run `pulumi up` or use the command:\n"+
"`pulumi state unprotect %s`", s.old.URN, s.old.URN) "`pulumi state unprotect '%s'`", s.old.URN, s.old.URN)
} }
// Deleting an External resource is a no-op, since Pulumi does not own the lifecycle. // Deleting an External resource is a no-op, since Pulumi does not own the lifecycle.