I purchased a website subscription in 2021 but it is renewed till 2023. I am cash method accounting sch c file. Can I take the entire amount in 2021?

I read something about 12 month rule? Can I take entire expense in 2021 or do I prorate till 2023? I am cash method sch c filer.