Hacker Newsnew | past | comments | ask | show | jobs | submit | pplanel's commentslogin


Jesus, this is worse than AWS... had to scroll a while to see the one service was broken.


That is just some extra logging, it has been happening to one of my clusters for weeks


It sucks at Rust

  fn convert_ogg_to_w  av(input: Path) -> Result<


in fact, I thought the same. maybe "cis" became an example of metonymy?


If we get a few more comments like that we should seriously think about renaming to sysforce or something


Very nice write up, thanks.


finger superluminal@plan.cat


Can't start in Android's Firefox.


Probably can't start in Netscape Navigator either, the audacity.


Nice, as a game I was hooked. 16 moves in 44 sec


agree, cool 14 moves but 87 seconds ;-)


  Location: LATAM
  Remote: Yes
  Willing to relocate: Yes
  Technologies: Have a look at the CV, please! :)
  Résumé/CV: https://hackmd.io/@WCIqDpwQQ_uC3Zv3IPK-0A/cv_hn_aug_2021
  Email: pplanel@gmail.com


you should have a look at terraform workspace feature.


workspaces are specifically _not_ intended to be used as environment replacements. And it wouldn't have caught the OPs issue to begin with. His problem was he didn't read the plan, because it's pretty basic that any change of a resource name or a change of type equates deletion and TF will report back saying it will destroy a resource that is missing in the config but in the state.

To solve his problem, after switching to the data source type from resource he needed to manually run `terraform state rm` to get rid of the resource from the state.


> workspaces are specifically _not_ intended to be used as environment replacements.

From Terraform's "An Overview of Our Recommended Workflow"[1]:

  "The best approach is to use one workspace for each environment of a given infrastructure component. Or in other words, Terraform configurations * environments = workspaces."
So 1 workspace != 1 environment but workspaces are indeed intended to handle multiple environments.

I've personally struggled with managing multiple environments using Terraform so I'm interested in what the best practices are.

[1]: https://www.terraform.io/docs/cloud/guides/recommended-pract...


Can you elaborate on why terraform workspaces are not intended to be used for environments? I use it exactly for this use case. Same terraform config deploying to production and staging, each maintaining its own state in a separate workspace.


A delivery service/personal shopper for a rural area in Rio de Janeiro. Trying my hand at low tech services.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: