跳至主要内容

Learning terraform with OCI provider and Oracle always free tier

Provider: OCI

https://www.terraform.io/docs/providers/oci/index.html

  1. Initial terraform plugins.
  2. Setup connection credentials as input variables, such various ocids, public keys etc.
  3. The way of using .tfvars file is deprecated.
  4. The way of configuring via SDK/CLI configuration file ~/.oci/config does not work.
  5. Shell variables work as expected.
  6. An exist oci resource, such as vcn, must be removed before always free configuration can be applied.
  7. OCI stacks is actually implemented with terraform. There's terraform specific functions in stack's detail panel. Such as terraform configuration download (as a zip), plan, apply, destroy.
  8. Long way to go as OCI api is rich and complex.

 

评论

此博客中的热门博文

Eglot and before/after-save-hook and use-package

In Emacs, when you try to automate some actions during every save action, you will surely get to the before-save-hook and the after-save-hook. Simply adding something like gofmt-before-save to before-save-hook will save you tons of time to do the go-fmt. And then, I meet eglot, and gopls will also save me tons of time doing googling and api documentation navigation. But eglot-ensure is not very friendly to the good old ways of how after-save-hooks were designed to work. It makes the before/after-save-hook a buffer local variable and it does not inherit the variable's global value. So, to make before/after-save-hook work again, experts start to adding hooks to major mode specific hooks like this: emacs.md - Go (opensource.google) """ ;; Optional: install eglot-format-buffer as a save hook. ;; The depth of -10 places this before eglot's willSave notification, ;; so that that notification reports the actual contents that will be saved. (defu...

XEmacs 21.5 beta 35 "kohlrabi" has been released.

If you are an old XEmacs user, you may feel happy to see this from https://www.xemacs.org/.    After ten years, XEmacs released a new version 21.5. So there's still many people cares about XEmacs. The XEmacs' source repo have been moved from altassian Bitbucket to https://heptapod.net/. As Bitbucket have been dropped Mercurial support many years ago.